
    i                          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dS )c                       e Zd ZdZdS )FormParserErrorz%Base error class for our form parser.N__name__
__module____qualname____doc__     b/home/piyush/.hermes/hermes-agent/venv/lib/python3.11/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                X    t                                          |           || _        d S )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      sk          79     T          r
   r   c                       e Zd ZdZdS )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dS )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dS )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dS )	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%      s  0 0 0 0 0j 0 0 0           *       J       *   < < < < < < < < < <r
   