pub fn boxed_error(err: FfiError) -> *mut FfiError
Box err for an async completion callback, which hands ownership to the consumer (released with {prefix}_error_free).
err
{prefix}_error_free