Notifies that an error has occurred with the connection with the server and the Omni SDK is unable to receive server side events.

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

Hierarchy (view full)

Properties

eventDate: Date

The date-time when the event was generated by Omni SDK

message: string

Error message describing the reason for failure.

Reason code corresponding to the type of failure due to which the event stream has failed.

retryAfter?: number

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

sessionId: string

The unique 36 character internal id that represents the session.