ktor-utils / io.ktor.util.cio / ChannelReadException

ChannelReadException

class ChannelReadException : ChannelIOException

An exception that is thrown when an IO error occurred during reading from the request channel. Usually it happens when a remote client closed the connection.

Constructors

<init>

ChannelReadException(message: String = "Cannot read from a channel", exception: Throwable)

An exception that is thrown when an IO error occurred during reading from the request channel. Usually it happens when a remote client closed the connection.