quick_error

Macro quick_error 

Source
macro_rules! quick_error {
    (connection, $msg:expr) => { ... };
    (pool, $msg:expr) => { ... };
    (query, $msg:expr) => { ... };
    (serialization, $msg:expr) => { ... };
    (validation, $field:expr, $msg:expr) => { ... };
    (config, $msg:expr) => { ... };
    (alias_not_found, $alias:expr) => { ... };
    (unsupported_db, $db_type:expr) => { ... };
    (cache, $msg:expr) => { ... };
}
Expand description

便捷宏 - 快速创建错误