Err

data class Err<out E>(val error: E) : Result<Nothing, E>

Constructors

Link copied to clipboard
constructor(error: E)

Properties

Link copied to clipboard
val error: E

Functions

Link copied to clipboard
inline fun expect(message: () -> String): Nothing
fun expect(message: String): Nothing
Link copied to clipboard
inline fun expectErr(message: () -> String): E
Link copied to clipboard
Link copied to clipboard
fun unwrapErr(): E