Package-level declarations

Provides exceptions arising on suspended coroutine cancellation.

Provides exceptions arising on suspended coroutine cancellation.

Provides exceptions arising on suspended coroutine cancellation.

Provides exceptions arising on suspended coroutine cancellation.

Provides exceptions arising on suspended coroutine cancellation.

Provides exceptions arising on suspended coroutine cancellation.

Types

Link copied to clipboard

Thrown by cancellable suspending functions if the coroutine is cancelled while it is suspended. It indicates normal cancellation of a coroutine.

Since Kotlin 1.4
Since Kotlin 1.4
Since Kotlin 1.4
Since Kotlin 1.8
Since Kotlin 1.8

Functions

Link copied to clipboard

Creates an instance of CancellationException with the given cause.

Since Kotlin 1.4

Creates an instance of CancellationException with the given message and cause.

Since Kotlin 1.4
actual inline fun CancellationException(message: String?, cause: Throwable?): CancellationException
Since Kotlin 1.4