Error

fun Error(message: String)

Indicates an error state.

Parameters

message

the message of this error

fun Error(message: String, cause: Throwable)

Indicates an error state.

Parameters

message

the message of this error

cause

the cause (as Throwable)

fun Error(message: String, error: Result.Error)

Indicates an error state.

Parameters

message

the message of this error

error

the actual error

fun Error(throwable: Throwable)