arrow-core-data / arrow.core / Try / Failure

Failure

data class ~~Failure~~ : Try<Nothing> Deprecated: Try will be deleted soon as it promotes eager execution of effects, so it’s better if you work with Either’s suspend constructors or an effect handler like IO

Constructors

<init> Failure(exception: Throwable)

Properties

exception val exception: Throwable

Functions

isFailure fun isFailure(): Boolean
isSuccess fun isSuccess(): Boolean

Do you like Arrow?

Arrow Org
<