Expand description
HTTP/3 error codes and the two error types the rest of the crate sees.
The split between them is the one RFC 9114 §8 makes: a stream error ends
one request and leaves the connection usable, while a connection error
takes everything down. Which of the two a given violation is, is a property
of the rule that was broken, so it is carried by Violation rather than
decided at the point the error is handled.
Structs§
- Code
- An HTTP/3 “application error code” (RFC 9114 §8.1).
- Violation
- Something the peer did that RFC 9114 (or 9204, or 9297) forbids.
Enums§
- Connection
Error - Error affecting the whole HTTP/3 connection.
- Stream
Error - Error affecting a single request stream.