pub fn try_set_error_responder(
f: ApiErrorResponder,
) -> Result<(), ApiErrorResponder>Available on crate feature
axum only.Expand description
Tries to set a custom ApiErrorResponder that will be used to convert
ApiError to a Response.
ยงErrors
Returns an error if the responder is already set.