
    &XhS                        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 G d de      Z G d de      Z	y)z
Exceptions used in hpack.
    )annotationsc                      e Zd ZdZy)
HPACKErrorz6
    The base class for all ``hpack`` exceptions.
    N__name__
__module____qualname____doc__     :/RAG/venv/lib/python3.12/site-packages/hpack/exceptions.pyr   r          r   r   c                      e Zd ZdZy)HPACKDecodingErrorzH
    An error has been encountered while performing HPACK decoding.
    Nr   r   r   r   r   r      r   r   r   c                      e Zd ZdZy)InvalidTableIndexErrorzK
    An invalid table index was received.

    .. versionadded:: 4.1.0
    Nr   r   r   r   r   r      s    r   r   c                      e Zd ZdZy)InvalidTableIndexz
    An invalid table index was received.

    .. deprecated:: 4.1.0
       Renamed to :class:`InvalidTableIndexError`, use it instead.
    Nr   r   r   r   r   r          r   r   c                      e Zd ZdZy)OversizedHeaderListErrorz
    A header list that was larger than we allow has been received. This may be
    a DoS attack.

    .. versionadded:: 2.3.0
    Nr   r   r   r   r   r   %   r   r   r   c                      e Zd ZdZy)InvalidTableSizeErrorz
    An attempt was made to change the decoder table size to a value larger than
    allowed, or the list was shrunk and the remote peer didn't shrink their
    table size.

    .. versionadded:: 3.0.0
    Nr   r   r   r   r   r   .   s    r   r   N)
r
   
__future__r   	Exceptionr   r   r   r   r   r   r   r   r   <module>r      s[    #  / . 1 . r   