pub unsafe fn error_clear(err: *mut FfiError)
The body of {prefix}_error_clear: free any message and payload and set the code to 0. A null err is a no-op.
{prefix}_error_clear
0
err
Same contract as error_set.
error_set