§
    tA­c/  ã                   ó²   — d dl mZmZm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¦  «        ZdS )é    )ÚOptionalÚSetÚType)ÚExceptionGroupc                   ó0   ‡ — e Zd ZdZdededdfˆ fd„Zˆ xZS )ÚStructureHandlerNotFoundErrorz]Error raised when structuring cannot find a handler for converting inputs into :attr:`type_`.ÚmessageÚtype_ÚreturnNc                 óX   •— t          ¦   «                              |¦  «         || _        d S ©N)ÚsuperÚ__init__r
   )Úselfr	   r
   Ú	__class__s      €ú//usr/lib/python3/dist-packages/cattrs/errors.pyr   z&StructureHandlerNotFoundError.__init__	   s&   ø€ Ý‰Œ×Ò˜Ñ!Ô!Ð!ØˆŒ
ˆ
ˆ
ó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústrr   r   Ú__classcell__©r   s   @r   r   r      sX   ø€ € € € € ØgÐgð ð ¨Dð °Tð ð ð ð ð ð ð ð ð ð r   r   c                   ó6   ‡ — e Zd ZU eed<   defˆ fd„Zd„ Zˆ xZS )ÚBaseValidationErrorÚclc                 ó\   •— t          ¦   «                              | ||¦  «        }||_        |S r   )r   Ú__new__r   )Úclsr	   Úexcsr   Úobjr   s        €r   r   zBaseValidationError.__new__   s(   ø€ Ý‰gŒgoŠo˜c 7¨DÑ1Ô1ˆØˆŒØˆ
r   c                 ó8   — t          | j        || j        ¦  «        S r   )ÚClassValidationErrorr	   r   )r   r!   s     r   ÚderivezBaseValidationError.derive   s   € Ý# D¤L°$¸¼Ñ@Ô@Ð@r   )r   r   r   r   Ú__annotations__r   r%   r   r   s   @r   r   r      se   ø€ € € € € € Ø€H€HHð¨ð ð ð ð ð ð ð
Að Að Að Að Að Að Ar   r   c                   ó   — e Zd ZdZdS )ÚIterableValidationErrorz$Raised when structuring an iterable.N©r   r   r   r   © r   r   r(   r(      s   € € € € € Ø.Ð.à€Dr   r(   c                   ó   — e Zd ZdZdS )r$   z=Raised when validating a class if any attributes are invalid.Nr)   r*   r   r   r$   r$       s   € € € € € ØGÐGà€Dr   r$   c                   óL   ‡ — e Zd ZdZdee         dedee         ddfˆ fd„Zˆ xZ	S )ÚForbiddenExtraKeysErrora  Raised when `forbid_extra_keys` is activated and such extra keys are detected during structuring.

    The attribute `extra_fields` is a sequence of those extra keys, which were the cause of this error,
    and `cl` is the class which was structured with those extra keys.
    r	   r   Úextra_fieldsr   Nc                 ó®   •— || _         || _        |r|nd|j        › dd                     |¦  «        › }t	          ¦   «                              |¦  «         d S )Nz Extra fields in constructor for z: z, )r   r.   r   Újoinr   r   )r   r	   r   r.   Úmsgr   s        €r   r   z ForbiddenExtraKeysError.__init__-   si   ø€ ð ˆŒØ(ˆÔð ð]ˆGˆGà\°B´KÐ\Ð\À4Ç9Â9È\ÑCZÔCZÐ\Ð\ð 	õ 	‰Œ×Ò˜ÑÔÐÐÐr   )
r   r   r   r   r   r   r   r   r   r   r   s   @r   r-   r-   &   so   ø€ € € € € ðð ðØ ”}ðØ*.ðØ>AÀ#¼hðà	ðð ð ð ð ð ð ð ð ð r   r-   N)Útypingr   r   r   Úcattrs._compatr   Ú	Exceptionr   r   r(   r$   r-   r*   r   r   ú<module>r5      s  ðØ &Ð &Ð &Ð &Ð &Ð &Ð &Ð &Ð &Ð &à )Ð )Ð )Ð )Ð )Ð )ðð ð ð ð  Iñ ô ð ð	Að 	Að 	Að 	Að 	A˜.ñ 	Aô 	Að 	Að	ð 	ð 	ð 	ð 	Ð1ñ 	ô 	ð 	ð	ð 	ð 	ð 	ð 	Ð.ñ 	ô 	ð 	ðð ð ð ð ˜iñ ô ð ð ð r   