class Protocol::HTTP2::Error
Status codes as defined by <tools.ietf.org/html/rfc7540#section-7>.
Constants
- CANCEL
Used by the endpoint to indicate that the stream is no longer needed.
- COMPRESSION_ERROR
The endpoint is unable to maintain the header compression context for the connection.
- CONNECT_ERROR
The connection established in response to a CONNECT request was reset or abnormally closed.
- ENHANCE_YOUR_CALM
The endpoint detected that its peer is exhibiting a behavior that might be generating excessive load.
- FLOW_CONTROL_ERROR
The endpoint detected that its peer violated the flow-control protocol.
- FRAME_SIZE_ERROR
The endpoint received a frame with an invalid size.
- HTTP_1_1_REQUIRED
The endpoint requires that HTTP/1.1 be used instead of HTTP/2.
- INADEQUATE_SECURITY
The underlying transport has properties that do not meet minimum security requirements.
- INTERNAL_ERROR
The endpoint encountered an unexpected internal error.
- NO_ERROR
The associated condition is not a result of an error. For example, a GOAWAY might include this code to indicate graceful shutdown of a connection.
- PROTOCOL_ERROR
The endpoint detected an unspecific protocol error. This error is for use when a more specific error code is not available.
- REFUSED_STREAM
The endpoint refused the stream prior to performing any application processing.
- SETTINGS_TIMEOUT
The endpoint sent a SETTINGS frame but did not receive a response in a timely manner.
- STREAM_CLOSED
The endpoint received a frame after a stream was half-closed.