macro_rules! throw {
($a:expr, $b:expr) => { ... };
}Expand description
Examples
async fn test(req: actix_web::HttpRequest) -> impl Responder {
return throw!(&req, errcode::VALID_CODE_ERROR);
}macro_rules! throw {
($a:expr, $b:expr) => { ... };
}Examples
async fn test(req: actix_web::HttpRequest) -> impl Responder {
return throw!(&req, errcode::VALID_CODE_ERROR);
}