failed

fun failed(block: suspend Outcome.Failure.() -> A): Effect.RunDSL<A>

Configures the handling of failed outcomes.

Return

This RunDSL instance for chaining.

Parameters

block

A suspendable function that processes a failed outcome.