Expand description
Error types.
Every rejection names what was wrong. A single opaque Invalid variant is not good
enough: the transaction layer chooses between 400, 413 and 505 based on which fault this
was, and an operator reading a log needs to know which byte offended.
Enumsยง
- Address
Edit Error - Why a parser-owned address value could not be edited losslessly.
- Build
Error - A message that could not be built.
- Framing
Error - Why a body could not be delimited.
- Header
Error - A header whose value could not be parsed, or whose value is out of range.
- Header
Syntax Error - What was wrong with a header field line.
- Limit
Kind - Which limit was exceeded.
- Parse
Error - A message that could not be framed or whose structure is malformed.
- Start
Line Error - What was wrong with a start line.
- UriError
- A URI that could not be parsed.
- Warning
Edit Error - Why a parser-owned Warning agent could not be edited losslessly.