pub fn set_error_responder(f: ApiErrorResponder)Available on crate feature
axum only.Expand description
Sets a custom ApiErrorResponder that will be used to convert
ApiError to a Response.
For a non-panicking alternative, use try_set_error_responder.
ยงPanics
Panics if the responder is already set.