@ably/chat - v0.10.0
    Preparing search index...

    Interface ErrorInfo

    A generic Ably error object that contains an Ably-specific status code, and a generic status code. Errors returned from the Ably server are compatible with the ErrorInfo structure and should result in errors that inherit from ErrorInfo.

    interface ErrorInfo {
        cause?: string | ErrorInfo | Error;
        code: number;
        message: string;
        name: string;
        stack?: string;
        statusCode: number;
    }

    Hierarchy

    • Error
      • ErrorInfo
    Index

    Properties

    cause?: string | ErrorInfo | Error

    The underlying cause of the error, where applicable.

    code: number

    Ably error code.

    message: string

    Additional message information, where available.

    name: string
    stack?: string
    statusCode: number

    HTTP Status Code corresponding to this error, where applicable.