pub unsafe extern "C-unwind" fn SecCopyErrorMessageString(
status: i32,
reserved: *mut c_void,
) -> Option<CFRetained<CFString>>
Available on crate feature
SecBase
only.Expand description
Returns a string describing the specified error result code.
Parameter status
: An error result code of type OSStatus or CSSM_RETURN, as returned by a Security or CSSM function.
Reserved for future use. Your code should pass NULL in this parameter.
Returns: A reference to an error string, or NULL if no error string is available for the specified result code. Your code must release this reference by calling the CFRelease function.
ยงSafety
reserved
must be a valid pointer or null.