catch String Of
inline suspend fun <Ok> catchStringOf(scope: RaiseScope<String> = DefaultRaiseScope(), block: suspend RaiseScope<String>.() -> Ok): Outcome<Ok, String>
Suspend variant of catchString builder.
Runs block and wraps the result as an Outcome, using String as the error type. Every thrown Exception is captured and its Throwable.message (or toString if null) is used as the error. kotlinx.coroutines.CancellationException is correctly propagated for structured concurrency.