macro_rules! http_error {
($expression:expr, $msg:expr) => { ... };
}Expand description
Unwraps a Result. If it’s an Err, automatically returns an HTTP 400 Bad Request
response immediately, using fr-rust’s built-in http_bad helper.
macro_rules! http_error {
($expression:expr, $msg:expr) => { ... };
}Unwraps a Result. If it’s an Err, automatically returns an HTTP 400 Bad Request
response immediately, using fr-rust’s built-in http_bad helper.