getFailureOr

fun <E> Result<*, E>.getFailureOr(default: E): E
inline fun <T, E> Result<T, E>.getFailureOr(block: (T) -> E): E