
    Ah                      v    d Z  G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Zy)zTreebeard exceptionsc                       e Zd ZdZy)InvalidPositionz(Raised when passing an invalid pos valueN__name__
__module____qualname____doc__     D/home/dcms/DCMS/lib/python3.12/site-packages/treebeard/exceptions.pyr   r      s    2r
   r   c                       e Zd ZdZy)InvalidMoveToDescendantzARaised when attempting to move a node to one of it's descendants.Nr   r	   r
   r   r   r      s    Kr
   r   c                       e Zd ZdZy)NodeAlreadySavedzZ
    Raised when attempting to add a node which is already saved to the
    database.
    Nr   r	   r
   r   r   r          r
   r   c                       e Zd ZdZy)MissingNodeOrderByzi
    Raised when an operation needs a missing
    :attr:`~treebeard.MP_Node.node_order_by` attribute
    Nr   r	   r
   r   r   r      r   r
   r   c                       e Zd ZdZy)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
   r   N)r   	Exceptionr   r   r   r   r   r	   r
   r   <module>r      sF    3i 3Li Ly  9 r
   