[][src]Macro ffi_utils::ffi_error

macro_rules! ffi_error {
    ($err:expr) => { ... };
}

Convert an error into a pair of (error_code: i32, description: String) to be used in NativeResult.

The error must implement Debug + Display.