pub unsafe extern "C" fn c4error_getDescriptionC(
error: C4Error,
outBuffer: *mut c_char,
bufferSize: usize,
) -> *mut c_charExpand description
Returns a description of an error, including the domain and code as well as the message. The description is copied to the buffer as a C string. It will not write past the end of the buffer; the message will be truncated if necessary. @param error The error to describe @param outBuffer Where to write the C string to @param bufferSize The size of the buffer @return A pointer to the string, i.e. to the first byte of the buffer.