@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 = 31204

    The numerical code associated with this Error.

    description: string = 'Invalid JWT token'

    A description of what the Error means.

    explanation: string = ''

    An explanation of when the Error may be observed.

    message: string

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

    name: string = 'InvalidJWTTokenError'

    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