Skip to main content

Module error

Module error 

Source

Structs§

ErrorInfo
Error detail contained in an error response.
ErrorResponse
JSON body returned for all error responses.

Traits§

ApiError
Trait for application-specific error types that can be rendered as structured JSON error responses.

Functions§

build_error_response
Build an error response without logging (caller handles logging).
into_error_response
Convert any ApiError into an axum Response.