We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1dc8d5 commit f40f1b3Copy full SHA for f40f1b3
1 file changed
src/wsproto/utilities.py
@@ -50,9 +50,11 @@ class RemoteProtocolError(ProtocolError):
50
This is the suggested wsproto Event to send to the client based
51
on the error.
52
53
+ .. versionchanged:: 1.4.0
54
+ Made ``event_hint`` a required argument.
55
+
56
"""
57
- # API-breaking change for the next minor release: event_hint is required.
58
def __init__(self, message: str, event_hint: Event) -> None:
59
self.event_hint = event_hint
60
super().__init__(message)
0 commit comments