Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
exceptions.cpython-313.pyc90 linesDownload Raw Back to __pycache__
1�

2��j���l�SrSSKJr SSKJr "SS\5r"SS\5r"S	S3\5r"SS\5r	"S
S\5r4"SS\5r"SS\5r"SS\5r
"SS\5r"SS\5r"SS\\5r"SS\5r"SS\5r"SS \5r"S!S"\5rg#)$z@5h2/exceptions6~~~~~~~~~~~~~7 8Exceptions for the HTTP/2 module.9�)�annotations�)�10ErrorCodesc��\rSrSrSrSrg)�H2Error�z:11The base class for all exceptions for the HTTP/2 module.12�N��__name__�13__module__�__qualname__�__firstlineno__�__doc__�__static_attributes__r	��SD:\code\apps\devtools\python\user_packages\Python313\site-packages\h2/exceptions.pyrrs��rrc�0�\rSrSrSr\RrSrg)�
ProtocolError�z>14An action was attempted in violation of the HTTP/2 protocol.15r	N)	rrr
rrr�PROTOCOL_ERROR�16error_coderr	rrrrs���17�*�*�Jrrc�0�\rSrSrSr\RrSrg)�FrameTooLargeError�zD18The frame that we tried to send or that we received was too large.19r	N�	rrr
rrr�FRAME_SIZE_ERRORrrr	rrrrs���20�,�,�Jrrc�0�\rSrSrSr\RrSrg)�FrameDataMissingError�$zK21The frame that we received is missing some data.22 23.. versionadded:: 2.0.024r	Nrr	rrrr$s����,�,�Jrrc��\rSrSrSrSrg)�TooManyStreamsError�/zV25An attempt was made to open a stream that would lead to too many concurrent26streams.27r	Nr28r	rrr!r!/s��rr!c�0�\rSrSrSr\RrSrg)�FlowControlError�7z829An attempted action violates flow control constraints.30r	N)	rrr
rrr�FLOW_CONTROL_ERRORrrr	rrr$r$7s���31�.�.�Jrr$c�,�\rSrSrSrSSjrSSjrSrg)	�StreamIDTooLowError�@zx32An attempt was made to open a stream that had an ID that is lower than the33highest ID we have seen on this connection.34c��XlX lg�N��	stream_id�
max_stream_id)�selfr-r.s   r�__init__�StreamIDTooLowError.__init__Fs��"��+�rc�:�SURSUR3$)NzStreamIDTooLowError: z is lower than r,�r/s r�__str__�StreamIDTooLowError.__str__Ms!��&�t�~�~�&6�o�d�FX�FX�EY�Z�Zr)r.r-N)r-�intr.r6�return�None�r7�str�rrr
rrr0r4rr	rrr(r(@s���35+�[rr(c��\rSrSrSrSrg)�NoAvailableStreamIDError�Qzx36There are no available stream IDs left to the connection. All stream IDs37have been exhausted.38 39.. versionadded:: 2.0.040r	Nr41r	rrr=r=Qs��rr=c�"�\rSrSrSrSSjrSrg)�NoSuchStreamError�[z�42A stream-specific action referenced a stream that does not exist.43 44.. versionchanged:: 2.0.045   Became a subclass of :class:`ProtocolError46   <h2.exceptions.ProtocolError>`47c��Xlgr+�r-�r/r-s  rr0�NoSuchStreamError.__init__ds��"�rrCN�r-r6r7r8�rrr
rrr0rr	rrr@r@[s���#rr@c�"�\rSrSrSrSSjrSrg)�StreamClosedError�iz�48A more specific form of49:class:`NoSuchStreamError <h2.exceptions.NoSuchStreamError>`. Indicates50that the stream has since been closed, and that all state relating to that51stream has been removed.52c�H�Xl[RUl/Ulgr+)r-r�
STREAM_CLOSEDr�_eventsrDs  rr0�StreamClosedError.__init__qs��"��%�2�2�����r)rMrr-NrFrGr	rrrIrIis���	rrIc�0^�\rSrSrSrSU4SjjrSrU=r$)�InvalidSettingsValueError�}zP53An attempt was made to set an invalid Settings value.54 55.. versionadded:: 2.0.056c�0>�[TU]U5 X lgr+)�superr0r)r/�msgr�	__class__s   �rr0�"InvalidSettingsValueError.__init__�s���
�����$�r)r)rTr:rrr7r8)rrr
rrr0r�
__classcell__)rUs@rrPrP}s����%�%rrPc�,�\rSrSrSrSSjrSSjrSrg)	�InvalidBodyLengthError�zk57The remote peer sent more or less data that the Content-Length header58indicated.59 60.. versionadded:: 2.0.061c��XlX lgr+��expected_length�
actual_length)r/�expected�actuals   rr0�InvalidBodyLengthError.__init__�s��'��#�rc�:�SURSUR3$)Nz!InvalidBodyLengthError: Expected z bytes, received r\r3s rr4�InvalidBodyLengthError.__str__�s%��2�4�3G�3G�2H�HY�Z^�Zl�Zl�Ym�n�nr)r^r]N)r_r6r`r6r7r8r9r;r	rrrYrY�s���$�orrYc��\rSrSrSrSrg)�UnsupportedFrameError�z�62The remote peer sent a frame that is unsupported in this context.63 64.. versionadded:: 2.1.065 66.. versionchanged:: 4.0.067   Removed deprecated KeyError parent class.68r	Nr69r	rrrere�s��rrec��\rSrSrSrSrg)�RFC1122Error�aw70Emitted when users attempt to do something that is literally allowed by the71relevant RFC, but is sufficiently ill-defined that it's unwise to allow72users to actually do it.73 74While there is some disagreement about whether or not we should be liberal75in what accept, it is a truth universally acknowledged that we should be76conservative in what emit.77 78.. versionadded:: 2.4.079r	Nr80r	rrrhrh�s��81rrhc�0�\rSrSrSr\RrSrg)�DenialOfServiceError�a(82Emitted when the remote peer exhibits a behaviour that is likely to be an83attempt to perform a Denial of Service attack on the implementation. This84is a form of ProtocolError that carries a different error code, and allows85more easy detection of this kind of behaviour.86 87.. versionadded:: 2.5.088r	N)	rrr
rrr�ENHANCE_YOUR_CALMrrr	rrrkrk�s����-�-�JrrkN)r�89__future__r�errorsr�	Exceptionrrrrr!r$r(r=r@rI�90ValueErrorrPrYrerhrkr	rr�<module>rrs����#���i��+�G�+�-��-�-�M�-��-��/�}�/�[�-�[�"�}��#�
�#��)��(	%�
�z�	%�
o�]�
o� �M���7��".�=�.r
codekingpro/portable-devtools · Team Ai