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

    Custom error class thrown by the Flex SDK with structured error codes and metadata.

    Hierarchy

    • Error
      • FlexSdkError
    Index

    Constructors

    Properties

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

    Optional override for formatting stack traces

    stackTraceLimit: number

    Accessors

    • get details(): undefined | string

      Detailed information about what caused the error

      Returns undefined | string

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void