
    ~/j                          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 G d
 dee      Zy)c                       e Zd ZdZy)FormParserErrorz%Base error class for our form parser.N__name__
__module____qualname____doc__     Y/var/www/html/maxservice/venv/lib/python3.12/site-packages/python_multipart/exceptions.pyr   r      s    /r
   r   c                   6     e Zd ZdZdddededdf fdZ xZS )	
ParseErrorzaThis exception (or a subclass) is raised when there is an error while
    parsing something.
    )offsetmessager   returnNc                2    t         |   |       || _        y )N)super__init__r   )selfr   r   	__class__s      r   r   zParseError.__init__
   s    !r
   )r   r   r   r   strintr   __classcell__)r   s   @r   r   r      s,     79   T  r
   r   c                       e Zd ZdZy)MultipartParseErrorziThis is a specific error that is raised when the MultipartParser detects
    an error while parsing.
    Nr   r	   r
   r   r   r          r
   r   c                       e Zd ZdZy)QuerystringParseErrorzkThis is a specific error that is raised when the QuerystringParser
    detects an error while parsing.
    Nr   r	   r
   r   r   r      r   r
   r   c                       e Zd ZdZy)DecodeErrorzThis exception is raised when there is a decoding error - for example
    with the Base64Decoder or QuotedPrintableDecoder.
    Nr   r	   r
   r   r    r       r   r
   r    c                       e Zd ZdZy)	FileErrorz1Exception class for problems with the File class.Nr   r	   r
   r   r"   r"   !   s    ;r
   r"   N)
ValueErrorr   r   r   r   r    OSErrorr"   r	   r
   r   <module>r%      sO   0j 0 * J * < <r
   