failure
fun <FailureType> failure(failure: FailureType): Result.Failure<FailureType>
Content copied to clipboard
Creates a Result.Failure from the given failure.
Parameters
failure
The failure that will be wrapped with Result.
Creates a Result.Failure from the given failure.
The failure that will be wrapped with Result.