Package kotlin. coroutines. cancellation
Types
Cancellation Exception
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
Functions
Cancellation Exception
Link copied to clipboard
expect fun CancellationException(cause: Throwable?): CancellationException
Content copied to clipboard
Creates an instance of CancellationException with the given cause.
Since Kotlin
1.4
expect fun CancellationException(message: String?, cause: Throwable?): CancellationException
Content copied to clipboard
Creates an instance of CancellationException with the given message and cause.
Since Kotlin
1.4
actual inline fun CancellationException(cause: Throwable?): CancellationException
Content copied to clipboard
actual inline fun CancellationException(message: String?, cause: Throwable?): CancellationException
Content copied to clipboard