ClosedReceiveChannelException

Indicates an attempt to receive from a isClosedForReceive channel that was closed without a cause. A failed channel rethrows the original close cause exception on receive attempts.

This exception is a subclass of NoSuchElementException to be consistent with plain collections.

Constructors

Link copied to clipboard
constructor(message: String?)