data class Failure<out A> : Try<A>
<init> |
Failure(exception: Throwable) |
exception |
val exception: Throwable |
isFailure |
Returns val isFailure: Boolean |
isSuccess |
Returns val isSuccess: Boolean |
getOrThrow |
Returns the value if a Success otherwise throws the exception if a Failure. fun getOrThrow(): A |
toString |
fun toString(): String |