resume With Exception
Начиная с Kotlin: 1.3
inline fun <T> Continuation<T>.resumeWithException(exception: Throwable)
Возобновляет выполнение соответствующей корутины, чтобы исключение было повторно выброшено сразу после последней точки приостановки.
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/resume-with-exception.html