Module anyhow_http::response
source · Expand description
Creating responses from HttpError.
Structs§
- Type representing an error response.
- Json
jsonA general purpose error response that formats aHttpErroras Json.
Traits§
- Trait for formatting error responses.
Type Aliases§
- A
HttpErrorResponsewith configuredJsonformatter. - Http
Json Result jsonAHttpResultwith configuredJsonformatter. - A result that wraps
HttpErrorwith response formatterFormatResponse.