Skip to content

Glossary: Kotlin Beyond the Basics

CancellationException

Also written: JobCancellationException

The exception cancellation travels as. Catching a general `Exception` also catches it, so rethrow it to let the coroutine stop.

Where the book teaches it

Related terms

cancellationcooperative