[][src]Trait ffi_toolkit::CodeAndMessage

pub trait CodeAndMessage {
    fn set_error(
        &mut self,
        code_and_message: (FCPResponseStatus, *const c_char)
    ); }

All FFI responses need to implement this trait in order to be able to use catch_panic()

Required methods

fn set_error(&mut self, code_and_message: (FCPResponseStatus, *const c_char))

Set the status code and error message

Loading content...

Implementors

Loading content...