Function error_set
Source pub unsafe fn error_set(out_err: *mut FfiError, code: i32, message: &str)
Expand description
Fill the caller’s out_err slot with code and a copy of message,
releasing anything it held before. A null out_err is a no-op.
§Safety
out_err must be null or point to a valid, writable FfiError whose
pointers are null or owned by this runtime.