Other items inpbni
macro_rules! throw { ($session:ident,$($arg:tt)*) => { ... }; }
抛出PB异常,包含调用处的位置信息,用法与format!相同
format!
throw(session,"this is a {}!","exception");
Exception:
this is a exception! at <module_path> (<file>:<line>:<column>)