Creates a success result from the given value
Creates a failure result from the given failure Trying to create a failure case re-throws any fatal exceptions, such as OutOfMemoryError. Relies on Arrow's nonFatalOrThrow internally.
OutOfMemoryError