Failure
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
inline suspend fun <T> Outcome<T>.mapFailure(transform: suspend (Outcome.Failure) -> Outcome.Failure): Outcome<T>
Link copied to clipboard
inline suspend fun <T> Outcome<T>.recoverCatching(recoverBlock: suspend (Outcome.Failure) -> T): Outcome<T>
Recovers from a Failure by applying the recoverBlock function, catching any exceptions.
Link copied to clipboard
Returns a string representation of this Failure instance with stack trace details.