opensavvy.state.outcome¶
Utilities for the Outcome type, allowing to embed typed error management directly into the API without using exceptions.
Types¶
Outcome¶
Properties¶
Functions¶
failed¶
fun <Failure> Failure.failed(): Outcome.Failure<Failure>
successful¶
fun <Value> Value.successful(): Outcome.Success<Value>