Crate axum_route_error

Source

Structs§

RouteError
This Rust module provides a standard error type for routes. It encapsulates information about errors that occur while handling requests. It includes a status code, error details, any extra data, and a public error message.
RouteErrorOutput
RouteInternalErrorOutput

Type Aliases§

RouteInternalError
This is for exposing internal errors publically. It is desirable for internal services, where you do want to expose what has gone wrong as a part of the return.