macro_rules! api_err {
($status:expr, $endpoint:expr, $msg:expr) => { ... };
($status:expr, $endpoint:expr, $fmt:expr, $($arg:tt)*) => { ... };
}Expand description
创建API错误的宏
macro_rules! api_err {
($status:expr, $endpoint:expr, $msg:expr) => { ... };
($status:expr, $endpoint:expr, $fmt:expr, $($arg:tt)*) => { ... };
}创建API错误的宏