At the following link: https://www.raywenderlich.com/books/kotlin-coroutines-by-tutorials/v2.0/chapters/8-exception-handling
The first example has the following output:
1. Exception created via launch coroutine
Exception in thread “DefaultDispatcher-worker-1” java.lang.IndexOutOfBoundsException
- - -
2. Joined failed job
3. Exception created via async coroutine
4. Caught ArithmeticException
But the last line should be:
5. Caught ArithmeticException