Class AuthorizationError

Hierarchy

  • ChatSDKError
    • AuthorizationError

Constructors

  • Parameters

    • message: string
    • data: undefined | {
          errorCode: string;
          errorMessage: string;
          transactionId: string;
      }

    Returns AuthorizationError

Properties

cause?: unknown
data: undefined | {
    errorCode: string;
    errorMessage: string;
    transactionId: string;
}

Type declaration

  • errorCode: string
  • errorMessage: string
  • transactionId: string
message: string
name: string = 'ChatSDKError'
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc