Expand description
This module contains the main error handling for all routes and axum handlers.
This follows the rust-10x production code convention for handling errors. See this video to know more about it.
Moreover, this module contains error handling for both server errors and client errors.
Enums§
- Client
Error - This is the error type that is returned to the client.
- Error
- Main Error Types for all axum handlers.
Type Aliases§
- Payload
Json - This type is used when you have a JSON request body as it can potentially throw
[
JsonRejection
], which is not handled byserde_json
. - Result
- Boilerplate Result Type from rust-10x style convention. This result type is used by all axum handlers.