Is there any way to force a failure in the `runCatching` block like: ```runCatching { when (som...
r
Is there any way to force a failure in the
runCatching
block like:
Copy code
runCatching {
     when (some_condition) {
         1 > failure
         else -> todo
}
y
Use the
error()
function from the stdlib, with an optional message.