#[unsafe(no_mangle)]pub extern "C" fn ket_error_message(
error_code: i32,
error_message: *mut *const c_char,
) -> i32Expand description
Retrieves the human-readable error message for a given integer error code.
On success the function heap-allocates a null-terminated C string and
writes its address into *error_message. The caller must free this string
with ket_string_delete when done.
ยงReturns
0 on success; a non-zero error code if the C string could not be
allocated (e.g., if the message contains interior null bytes).