Ë
    �ÏÏe  ã                   ól   — 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y)zJOSE errors.é    )ÚAnyc                   ó   — e Zd ZdZy)ÚErrorzGeneric JOSE Error.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    ú//usr/lib/python3/dist-packages/josepy/errors.pyr   r      s   „ Úr   r   c                   ó(   ‡ — e Zd ZdZdefˆ fd„Zˆ xZS )ÚDeserializationErrorzJSON deserialization error.Úreturnc                 ó>   •— dj                  t        ‰| �	  «       «      S )NzDeserialization error: {0})ÚformatÚsuperÚ__str__)ÚselfÚ	__class__s    €r   r   zDeserializationError.__str__   s   ø€ Ø+×2Ñ2´5±7±?Ó3DÓEÐEr   )r   r   r	   r
   Ústrr   Ú__classcell__©r   s   @r   r   r   	   s   ø„ Ù%ðF˜÷ Fñ Fr   r   c                   ó   — e Zd ZdZy)ÚSerializationErrorzJSON serialization error.Nr   r   r   r   r   r      s   „ Ú#r   r   c                   ó<   ‡ — e Zd ZdZdededdfˆ fd„Zdefd„Zˆ xZS )ÚUnrecognizedTypeErrorz~Unrecognized type error.

    :ivar str typ: The unrecognized type of the JSON object.
    :ivar jobj: Full JSON object.

    ÚtypÚjobjr   Nc                 óR   •— || _         || _        t        ‰| �  t	        | «      «       y )N)r   r   r   Ú__init__r   )r   r   r   r   s      €r   r!   zUnrecognizedTypeError.__init__   s"   ø€ ØˆŒØˆŒ	Ü‰Ñœ˜T›Õ#r   c                 óN   — dj                  | j                  | j                  «      S )Nz){0} was not recognized, full message: {1})r   r   r   )r   s    r   r   zUnrecognizedTypeError.__str__!   s   € Ø:×AÑAÀ$Ç(Á(ÈDÏIÉIÓVÐVr   )	r   r   r	   r
   r   r   r!   r   r   r   s   @r   r   r      s0   ø„ ñð$˜Cð $ sð $¨tõ $ð
W˜÷ Wr   r   N)r
   Útypingr   Ú	Exceptionr   r   r   r   r   r   r   ú<module>r%      s@   ðÙ Ý ôˆIô ôF˜5ô Fô$˜ô $ôWÐ0õ Wr   