CancellationException

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

Since Kotlin

1.4

Creates an instance of CancellationException with the given cause.

Since Kotlin

1.4