o
    ¤š
jº  ã                   @   sf   G d d„ de ƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd	„ d	eƒZG d
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__© r   r   úN/home/kuhnn/.local/lib/python3.10/site-packages/python_multipart/exceptions.pyr      ó    r   c                       s4   e Zd ZdZddœdededdf‡ fdd	„Z‡  ZS )
Ú
ParseErrorzaThis exception (or a subclass) is raised when there is an error while
    parsing something.
    éÿÿÿÿ)ÚoffsetÚmessager   ÚreturnNc                   s   t ƒ  |¡ || _d S )N)ÚsuperÚ__init__r   )Úselfr   r   ©Ú	__class__r   r	   r   
   s   
zParseError.__init__)r   r   r   r   ÚstrÚintr   Ú__classcell__r   r   r   r	   r      s    (r   c                   @   r   )Ú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                   @   r   )ÚQuerystringParseErrorzkThis is a specific error that is raised when the QuerystringParser
    detects an error while parsing.
    Nr   r   r   r   r	   r      r
   r   c                   @   r   )ÚDecodeErrorz€This exception is raised when there is a decoding error - for example
    with the Base64Decoder or QuotedPrintableDecoder.
    Nr   r   r   r   r	   r      r
   r   c                   @   r   )Ú	FileErrorz1Exception class for problems with the File class.Nr   r   r   r   r	   r   !   r
   r   N)Ú
ValueErrorr   r   r   r   r   ÚOSErrorr   r   r   r   r	   Ú<module>   s    
