Notifies that an error has occurred with the connection of the server and the SDK is not able to receive events.

interface EventStreamFailed {
    eventDate: Date;
    message: string;
    reason: EventStreamFailureReason;
    retryAfter: number;
}

Properties

eventDate: Date

Date-time when the event occurred

message: string

Error message describing the reason for failure

retryAfter: number

Time interval in seconds after which the next attempt to connect to the server will be made