This returns a preallocated object for all errors and at least a few ok_values, so can be used in many contexts where avoiding allocation is important.
ok_value
This is more efficient than calling error_exn and then the create_error of the destination type.
error_exn
create_error