Interface OnErrorData

interface OnErrorData {
    catastrophicErrorType?: CatastrophicErrorType;
    errorCode?: number;
    errorType: OnErrorType;
    message: string;
    otherData?: unknown;
    transactionID?: string;
}

Properties

catastrophicErrorType?: CatastrophicErrorType

If the error is of the severity that requires a whole restart of web chat.

errorCode?: number

A possible error code associated with this error. The meaning of this value may vary based on the error type.

errorType: OnErrorType

The type of error that occurred.

message: string

A message associated with the error.

otherData?: unknown

An extra blob of data associated with the error. This may be a stack trace for thrown errors.

transactionID?: string

An optional transaction ID to associate with the error.

MMNEPVFCICPMFPCPTTAAATR