Function mongocrypt_sys::mongocrypt_status_message

source ยท
pub unsafe extern "C" fn mongocrypt_status_message(
    status: *mut mongocrypt_status_t,
    len: *mut u32,
) -> *const c_char
Expand description

Get the error message associated with a status or NULL.

@param[in] status The status object. @param[out] len An optional length of the returned string (excluding the trailing NULL byte). May be NULL.

@returns A NULL terminated error message or NULL.