CancellationException

open expect class CancellationException : 
    IllegalStateException
(source)

Constructors

<init>

CancellationException(message: String?)

Inheritors

ClosedSendChannelException

class ClosedSendChannelException : CancellationException

Indicates attempt to send on isClosedForSend channel that was closed without a cause. A failed channel rethrows the original close cause exception on send attempts.

TimeoutCancellationException

class TimeoutCancellationException : CancellationException

This exception is thrown by withTimeout to indicate timeout.