Available on crate feature
serve only.Expand description
HTTP-facing error type. Every fallible serve handler returns ServeError,
which renders to a JSON ApiError body with the right status code.
Structs§
- ApiError
- JSON error envelope:
{ "error": { "code": "...", "message": "..." } }. - ApiError
Body
Enums§
- Serve
Error - All error outcomes a serve handler can produce.