kvision / pl.treksoft.kvision.cordova / Result / Failure

Failure

class Failure<out E> : Result<Nothing, E>

Constructors

<init>

Failure(error: E)

Properties

error

val error: E

Functions

component2

fun component2(): E?

equals

fun equals(other: Any?): Boolean

get

fun get(): Nothing

getException

fun getException(): E

hashCode

fun hashCode(): Int

toString

fun toString(): String

Inherited Functions

component1

open operator fun component1(): V?

fold

fun <X> fold(success: (V) -> X, failure: (E) -> X): X