getOrElse

inline fun getOrElse(onFailure: (SolidError) -> T): T

The success value, or the result of onFailure applied to the error.