a
    Cøg   ã                   @   sX   d Z G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG d	d
„ d
eƒZdS )zTreebeard exceptionsc                   @   s   e Zd ZdZdS )ÚInvalidPositionz(Raised when passing an invalid pos valueN©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   úS/var/www/lab.imftr.de/x/nb_venv/lib/python3.9/site-packages/treebeard/exceptions.pyr      s   r   c                   @   s   e Zd ZdZdS )ÚInvalidMoveToDescendantzARaised when attempting to move a node to one of it's descendants.Nr   r   r   r   r   r	      s   r	   c                   @   s   e Zd ZdZdS )ÚNodeAlreadySavedzZ
    Raised when attempting to add a node which is already saved to the
    database.
    Nr   r   r   r   r   r
      s   r
   c                   @   s   e Zd ZdZdS )ÚMissingNodeOrderByzi
    Raised when an operation needs a missing
    :attr:`~treebeard.MP_Node.node_order_by` attribute
    Nr   r   r   r   r   r      s   r   c                   @   s   e Zd ZdZdS )ÚPathOverflowzÅ
    Raised when trying to add or move a node to a position where no more nodes
    can be added (see :attr:`~treebeard.MP_Node.path` and
    :attr:`~treebeard.MP_Node.alphabet` for more info)
    Nr   r   r   r   r   r      s   r   N)r   Ú	Exceptionr   r	   r
   r   r   r   r   r   r   Ú<module>   s
   