Package-level declarations

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

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