CancellationException

Common
JS
Native
1.4
JVM
1.4
typealias CancellationException = CancellationException
(source)

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

Constructors

<init>

Common
JS
Native
1.0
<init>()
Common
JS
Native
1.0
<init>(message: String?)
JS
Native
1.1
<init>(message: String?, cause: Throwable?)
JS
Native
1.1
<init>(cause: Throwable?)

Extension Functions

Native
1.3

getStackTraceAddresses

Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.

fun Throwable.getStackTraceAddresses(): List<Long>