Interface DisconnectedErrorInfo

This is used to indicate the state of errors that can happen any time during a chat where the service desk implementation has lost a connection to the back-end. If this error occurs while the user is waiting for an agent to join, it will be treated as a CONNECTING error instead.

interface DisconnectedErrorInfo {
    isDisconnected: boolean;
    logInfo?: unknown;
    type: DISCONNECTED;
}

Hierarchy

  • BaseErrorInfo
    • DisconnectedErrorInfo

Properties

isDisconnected: boolean

Indicates if the service desk has become disconnected. A value of true can be passed that will indicate that a previous disconnection is over and the service desk is now connected again.

logInfo?: unknown

An optional value that will be logged to the console as an error.

The discriminating value for this type.

MMNEPVFCICPMFPCPTTAAATR