Challenge: Exception Handling
Explore how to manage exceptions thrown by await in Kotlin coroutines by writing code that handles errors with try-catch blocks. Learn to control coroutine outputs by simulating exceptions and delays, and gain practical experience with structured concurrency error handling.
Problem
Write a code where the exception will be thrown by await(). End one coroutine with an exception, and that exception will be thrown by ...