
    Pi                         S SK rS SKJr  \R                  \R                     r\R                  \   r " S S\5      r " S S\5      r	 " S S\	5      r
 " S	 S
\
5      r " S S\	5      r " S S\5      rg)    N)datetimec                   B   ^  \ rS rSrSrS\4U 4S jjrS\4S jrSrU =r	$ )BadData   zRaised if bad data of any sort was encountered. This is the base
for all exceptions that ItsDangerous defines.

.. versionadded:: 0.15
messagec                 0   > [         TU ]  U5        Xl        g N)super__init__r   )selfr   	__class__s     b/var/www/html/backend/Backoffice_Marketplace/venv/lib/python3.13/site-packages/itsdangerous/exc.pyr   BadData.__init__   s    !    returnc                     U R                   $ r	   r   )r   s    r   __str__BadData.__str__   s    ||r   r   )
__name__
__module____qualname____firstlineno____doc__strr   r   __static_attributes____classcell__r   s   @r   r   r      s%       r   r   c                   <   ^  \ rS rSrSrSS\S\4U 4S jjjrSrU =r	$ )BadSignature   z%Raised if a signature does not match.r   payloadc                 0   > [         TU ]  U5        X l        g r	   )r
   r   r"   )r   r   r"   r   s      r   r   BadSignature.__init__   s    ! $+r   )r"   r	   )
r   r   r   r   r   r   
_t_opt_anyr   r   r   r   s   @r   r    r       s    /+ +j + +r   r    c                   ^   ^  \ rS rSrSr  SS\S\S\R                  \	   4U 4S jjjr
SrU =r$ )	BadTimeSignature%   zZRaised if a time-based signature is invalid. This is a subclass
of :class:`BadSignature`.
r   r"   date_signedc                 0   > [         TU ]  X5        X0l        g r	   )r
   r   r)   )r   r   r"   r)   r   s       r   r   BadTimeSignature.__init__*   s     	* 'r   )r)   )NN)r   r   r   r   r   r   r%   _tOptionalr   r   r   r   r   s   @r   r'   r'   %   s?     #-1	'' ' [[*	' 'r   r'   c                       \ rS rSrSrSrg)SignatureExpired=   zjRaised if a signature timestamp is older than ``max_age``. This
is a subclass of :exc:`BadTimeSignature`.
 N)r   r   r   r   r   r   r1   r   r   r/   r/   =   s    r   r/   c            	       J   ^  \ rS rSrSr   S	S\S\S\S\4U 4S jjjrSr	U =r
$ )
	BadHeaderC   zRaised if a signed header is invalid in some form. This only
happens for serializers that have a header that goes with the
signature.

.. versionadded:: 0.24
r   r"   headeroriginal_errorc                 <   > [         TU ]  X5        X0l        X@l        g r	   )r
   r   r5   r6   )r   r   r"   r5   r6   r   s        r   r   BadHeader.__init__K   s!     	* #) +9r   )r5   r6   )NNN)r   r   r   r   r   r   r%   
_t_opt_excr   r   r   r   s   @r   r3   r3   C   sC     #!%)99 9 	9
 #9 9r   r3   c                   <   ^  \ rS rSrSrSS\S\4U 4S jjjrSrU =r	$ )
BadPayload]   a   Raised if a payload is invalid. This could happen if the payload
is loaded despite an invalid signature, or if there is a mismatch
between the serializer and deserializer. The original exception
that occurred during loading is stored on as :attr:`original_error`.

.. versionadded:: 0.15
r   r6   c                 0   > [         TU ]  U5        X l        g r	   )r
   r   r6   )r   r   r6   r   s      r   r   BadPayload.__init__f   s    ! +9r   )r6   r	   )
r   r   r   r   r   r   r9   r   r   r   r   s   @r   r;   r;   ]   s     9 9Z 9 9r   r;   )typingr,   r   r-   Anyr%   	Exceptionr9   r   r    r'   r/   r3   r;   r1   r   r   <module>rB      st     [[ 
[[#
i +7 +'| '0' 9 949 9r   