KmmResult

constructor(value: T)(source)

Creates a success result from the given value


constructor(failure: Throwable)(source)

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.