error
=====

.. py:module:: error


Exceptions
----------

.. autoapisummary::

   error.E3Error


Module Contents
---------------

.. py:exception:: E3Error(message: str | list[str], origin: str | None = None)

   Bases: :py:obj:`Exception`


   Exception raised by functions defined in E3.


   .. py:attribute:: origin
      :value: None



   .. py:attribute:: messages
      :value: []



   .. py:method:: __iadd__(other: str | list[str] | E3Error) -> E3Error

      Add messages to the current instance.

      :param other: a message or an E3Error instance



   .. py:method:: __str__() -> str

      Return str(self).



