Skip to main content

bad_request_with_reason

Function bad_request_with_reason 

Source
pub fn bad_request_with_reason(
    reason: BadRequestReason,
    message: String,
) -> ControllerError
Expand description

Builds a 422 whose message_key the client keys its error handling on.