Class CadenzaError

An Error implementation for errors in the communication with Cadenza.

Note: For invalid parameters, the Cadenza client will throw "normal" Errors.

Hierarchy

  • Error
    • CadenzaError

Constructors

  • Parameters

    • type: string

      The technical identifier of the error

    • message: string

      A description of the error

    Returns CadenzaError

Properties

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

Optional override for formatting stack traces

stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void