An error indicating that an argument passed to Dappetizer public API was invalid.

Hierarchy

  • Error
    • ArgError

Constructors

  • Parameters

    • options: {
          argName: string;
          details: string;
          specifiedValue: unknown;
      }
      • Readonly argName: string
      • Readonly details: string
      • Readonly specifiedValue: unknown

    Returns ArgError

Properties

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

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc