Module poem::error [−][src]
Expand description
Some common error types.
Structs
General error.
Only the endpoints under the router can get the path parameters, otherwise this error will occur.
A possible error value when extracts data from request fails.
A possible error value when parsing query.
Enums
A possible error value when parsing cookie.
A possible error value when parsing form.
A possible error value when parsing JSON.
ParseMultipartError
multipart
A possible error value when parsing multipart.
ParseTypedHeaderError
typed-headers
A possible error value when parsing typed headers.
A possible error value when reading the body.
WebSocketError
websocket
A possible error value when handling websocket.
Type Definitions
A specialized Result type for Poem.