Other Ways of Exception Handling

Learn other ways that coroutines handle exceptions.

supervisorScope

Another way to stop exception propagation is to wrap coroutine builders with supervisorScope. This is very convenient as we still connect to the parent, yet any exceptions from the coroutine will be silenced.

Get hands-on with 1200+ tech skills courses.