Module poem::error [−][src]
Expand description
Some common error types.
Structs
General error.
This error occurs when the body has been taken.
This error occurs when the cookie value in the request header is illegal.
This error occurs when Content-type
is not application/x-www-form-urlencoded
.
A possible error when converting a HeaderName
from another type.
A possible error when converting a HeaderValue
from a string or byte
slice.
A possible error value when converting Method
from bytes.
Only the endpoints under the router can get the path parameters, otherwise this error will occur.
A possible error value when converting a StatusCode
from a u16
or &str
An error resulting from a failed attempt to construct a URI.
An error resulting from a failed attempt to construct a URI.
This error occurs if there is no cookie in the request header.
This error occurs when the path does not match.
Type Definitions
A specialized Result type for Poem.