
    wg*                        d Z ddlm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e      Zy)zProvide all bidict exceptions.    )annotationsc                      e Zd ZdZy)BidictExceptionz!Base class for bidict exceptions.N__name__
__module____qualname____doc__     P/home/mcse/projects/flask/flask-venv/lib/python3.12/site-packages/bidict/_exc.pyr   r      s    +r   r   c                      e Zd ZdZy)DuplicationErrorzBase class for exceptions raised when uniqueness is violated
    as per the :attr:`~bidict.RAISE` :class:`~bidict.OnDupAction`.
    Nr   r   r   r   r   r      s    r   r   c                      e Zd ZdZy)KeyDuplicationErrorz&Raised when a given key is not unique.Nr   r   r   r   r   r      s    0r   r   c                      e Zd ZdZy)ValueDuplicationErrorz(Raised when a given value is not unique.Nr   r   r   r   r   r      s    2r   r   c                      e Zd ZdZy)KeyAndValueDuplicationErrorzRaised when a given item's key and value are not unique.

    That is, its key duplicates that of another item,
    and its value duplicates that of a different other item.
    Nr   r   r   r   r   r      s    r   r   N)	r
   
__future__r   	Exceptionr   r   r   r   r   r   r   r   <module>r      sO    % ",i , 1* 13, 3"57L r   