Class ParserError

An error that is thrown when the ABI encoder or decoder encounters an issue.

Hierarchy

  • Error
    • ParserError

Constructors

  • Parameters

    • message: string
    • Optional originalError: unknown

    Returns ParserError

Properties

message: string
name: "ParserError" = 'ParserError'
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