@twilio/voice-sdk
    Preparing search index...

    Error received from the Twilio backend.

    Hierarchy (View Summary)

    Index

    Properties

    causes: string[] = []

    A list of possible causes for the Error.

    code: number = 20104

    The numerical code associated with this Error.

    description: string = 'Access token expired or expiration date invalid'

    A description of what the Error means.

    explanation: string = 'The Access Token provided to the Twilio API has expired, the expiration time specified in the token was invalid, or the expiration time specified was too far in the future'

    An explanation of when the Error may be observed.

    message: string

    Any further information discovered and passed along at run-time.

    name: string = 'AccessTokenExpired'

    The name of this Error.

    originalError?: object

    The original error object received from the external system, if any.

    solutions: string[] = []

    A list of potential solutions for the Error.

    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void