We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b6a0b6 commit 7b538ecCopy full SHA for 7b538ec
docs/source/api.rst
@@ -73,3 +73,6 @@ Exceptions
73
74
.. autoclass:: hyperframe.exceptions.InvalidPaddingError
75
:members:
76
+
77
+.. autoclass:: hyperframe.exceptions.InvalidFrameError
78
+ :members:
hyperframe/exceptions.py
@@ -30,3 +30,12 @@ class InvalidPaddingError(ValueError):
30
A frame with invalid padding was received.
31
"""
32
pass
33
34
35
+class InvalidFrameError(ValueError):
36
+ """
37
+ Parsing a frame failed because the data was not laid out appropriately.
38
39
+ .. versionadded:: 3.0.2
40
41
+ pass
0 commit comments