InvalidNumberOfParamsError
Hierarchy
- BaseWeb3Error
- InvalidNumberOfParamsError
Index
Constructors
Properties
Accessors
Methods
Constructors
publicconstructor
Parameters
got: number
expected: number
method: string
Returns InvalidNumberOfParamsError
Properties
publiccause
publiccode
publicexpected
publicgot
publicmethod
publicreadonlyname
publicstack
Accessors
publicinnerError
Returns undefined | Error | Error[]
Parameters
cause: undefined | Error | Error[]
Returns void
Methods
publictoJSON
Returns { cause: undefined | Error; code: number; expected: number; got: number; innerError: undefined | Error; message: string; method: string; name: string }
cause: undefined | Error
code: number
expected: number
got: number
innerError: undefined | Error
message: string
method: string
name: string
publicstaticconvertToString
Parameters
value: unknown
unquotValue: boolean = false
Returns string
Base class for Web3 errors.