Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InvalidViewParameterError

description

Error that indicates invalid view parameter of a smart contract

Hierarchy

  • Error
    • InvalidViewParameterError

Index

Constructors

constructor

  • new InvalidViewParameterError(smartContractViewName: string, sigs: any, args: any, originalError: any): InvalidViewParameterError

Properties

args

args: any

cause

cause: any

message

message: string

name

name: string = 'Invalid view parameters error'

originalError

originalError: any

sigs

sigs: any

smartContractViewName

smartContractViewName: string

Optional stack

stack: string

Static Optional prepareStackTrace

prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

see

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc