SSEClientException

class SSEClientException(val response: HttpResponse? = null, val cause: Throwable? = null, val message: String? = null) : IllegalStateException

Represents an exception which can be thrown during client SSE session.

Constructors

Link copied to clipboard
constructor(response: HttpResponse? = null, cause: Throwable? = null, message: String? = null)

Properties

Link copied to clipboard
open override val cause: Throwable? = null
Link copied to clipboard
open override val message: String? = null
Link copied to clipboard
val response: HttpResponse? = null

Functions

Link copied to clipboard

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.

If the exception contains cause that differs from CancellationException returns it otherwise returns itself.