Available on crate feature
axum only.Expand description
Custom implementation for axum integration
Structs§
Functions§
- default_
error_ responder - The default
ApiErrorResponder. - set_
error_ responder - Sets a custom
ApiErrorResponderthat will be used to convertApiErrorto aResponse. - try_
set_ error_ responder - Tries to set a custom
ApiErrorResponderthat will be used to convertApiErrorto aResponse.
Type Aliases§
- ApiError
Responder - A function that converts an
ApiErrorinto an axumResponse.