MCPcopy
hub / github.com/benoitc/gunicorn / HTTP2StreamError

Class HTTP2StreamError

gunicorn/http2/errors.py:122–130  ·  view source on GitHub ↗

Error specific to a single stream.

Source from the content-addressed store, hash-verified

120
121
122class HTTP2StreamError(HTTP2Error):
123 """Error specific to a single stream."""
124
125 def __init__(self, stream_id, message=None, error_code=None):
126 self.stream_id = stream_id
127 super().__init__(message, error_code)
128
129 def __str__(self):
130 return f"Stream {self.stream_id}: {self.message}"
131
132
133class HTTP2ConnectionError(HTTP2Error):

Callers 13

test_stream_error_strMethod · 0.90
receive_headersMethod · 0.85
receive_dataMethod · 0.85
receive_trailersMethod · 0.85
send_headersMethod · 0.85
send_dataMethod · 0.85
send_trailersMethod · 0.85
_half_close_localMethod · 0.85

Calls

no outgoing calls