Skip to main content

throw_tips

Macro throw_tips 

Source
macro_rules! throw_tips {
    ($a:expr, $b:expr, $c:expr) => { ... };
}
Expand description

Examples

 async fn test(req: actix_web::HttpRequest) -> impl Responder {
     return throw_tips!(&req, errcode::VALID_CODE_ERROR, "kkk");
 }