ErrorEvent

class ErrorEvent(val type: SubscriptionErrorType, val reason: ErrorReason) : Event<Nothing> (source)

An Event reporting a subscription error, terminating the stream.

Constructors

Link copied to clipboard
constructor(type: SubscriptionErrorType, reason: ErrorReason)

Properties

Link copied to clipboard
val reason: ErrorReason

the detailed reason for the error.

Link copied to clipboard
val type: SubscriptionErrorType

the category of error that occurred.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String