B
    ADbÔ  ã               @   s„   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G d
d„ de ƒZG dd„ de ƒZG dd„ de ƒZdS )c               @   s   e Zd ZdZdS )ÚNodePropertyErrorzBasic Node attribute errorN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   ú?G:\easytimepro\master/mysite/admin\tree_structure\exceptions.pyr      s   r   c               @   s   e Zd ZdZdS )ÚNodeIDAbsentErrorz1Exception throwed if a node's identity is unknownN)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdS )ÚNodePropertyAbsentErrorz<Exception throwed if a node's data property is not specifiedN)r   r   r   r   r   r   r   r   r	      s   r	   c               @   s   e Zd ZdZdS )ÚMultipleRootErrorz9Exception throwed if more than one root exists in a tree.N)r   r   r   r   r   r   r   r   r
      s   r
   c               @   s   e Zd ZdZdS )ÚDuplicatedNodeIdErrorz:Exception throwed if an identity already exists in a tree.N)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdS )ÚLinkPastRootNodeErrorzp
    Exception throwed in Tree.link_past_node() if one attempts
    to "link past" the root node of a tree.
    N)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdS )ÚInvalidLevelNumberN)r   r   r   r   r   r   r   r   "   s   r   c               @   s   e Zd ZdZdS )Ú	LoopErrorze
    Exception thrown if trying to move node B to node A's position
    while A is B's ancestor.
    N)r   r   r   r   r   r   r   r   r   &   s   r   N)	Ú	Exceptionr   r   r	   r
   r   r   r   r   r   r   r   r   Ú<module>   s   