General error, such as incorrect order of calls, etc. Note: All unhandled errors in the SDK are of type GeneralError. This error type handles miscellaneous issues that don't fit into other specific categories, ensuring a catch-all for unexpected errors.

Hierarchy

Constructors

Properties

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

Type declaration

stackTraceLimit: number

Accessors

  • get code(): number
  • Returns number

Methods

  • Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc