Macro check_safe_call

Source
macro_rules! check_safe_call {
    ($expr:expr) => { ... };
}
Expand description

Check the return code of the safe call

§Arguments

  • ret_code - The return code of the safe call

§Returns

  • Result<(), Error> - The result of the safe call Macro to check safe calls and automatically update traceback with file/line info

Usage: check_safe_call!(function(args))?;