Skip to main content

api_err

Macro api_err 

Source
macro_rules! api_err {
    ($status:expr, $endpoint:expr, $msg:expr) => { ... };
    ($status:expr, $endpoint:expr, $fmt:expr, $($arg:tt)*) => { ... };
}
Expand description

创建API错误的宏