CancellationException

expect fun CancellationException(message: String?, cause: Throwable?): CancellationException

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

Since Kotlin

1.4

expect fun CancellationException(cause: Throwable?): CancellationException

Creates an instance of CancellationException with the given cause.

Since Kotlin

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