[][src]Function didkit::error::didkit_error_message

#[no_mangle]pub extern "C" fn didkit_error_message() -> *const c_char

Retrieve a human-readable description of the most recent error encountered by a DIDKit C function. The returned string is valid until the next call to a DIDKit function in the current thread, and should not be mutated or freed. If there has not been any error, NULL is returned.