Function qpid_proton_sys::pn_messenger_errno[][src]

pub unsafe extern "C" fn pn_messenger_errno(
    messenger: *mut pn_messenger_t
) -> i32
Expand description

Get the code for a messenger’s most recent error. The error code is initialized to zero at messenger creation. The error number is “sticky” i.e. error codes are not reset to 0 at the end of successful API calls. You can use pn_messenger_error to access the messenger’s error object and clear explicitly if desired.