Macro bugstalker::weak_error
source ยท macro_rules! weak_error { ($res: expr) => { ... }; ($res: expr, $msg: tt) => { ... }; }
Expand description
Transforms Result
into Option
and logs an error if it occurs.
macro_rules! weak_error { ($res: expr) => { ... }; ($res: expr, $msg: tt) => { ... }; }
Transforms Result
into Option
and logs an error if it occurs.