Skip to main content

Module errors

Module errors 

Source
Expand description

HTTP/2 error codes (RFC 7540 §7) and the error type used across the crate — the Rust analogue of errors.ts.

Structs§

H2Error
An HTTP/2-level error. When stream_id is set the error is stream-scoped (RST_STREAM); otherwise it is a connection error (GOAWAY).

Enums§

ErrorCode
An HTTP/2 error code (RFC 7540 §7). The discriminant is the wire value.