Class InvalidNumericalCriteriaError

Thrown when a filter type is using a numerical operator but field type is not numerical

InvalidNumericalCriteriaError

Hierarchy (view full)

Constructors

Properties

stackTraceLimit: number
fieldValue: any

The value pulled off the log being validated against

criteria: Criteria

The criteria being used to compare during validation

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

Optional override for formatting stack traces

decodedArgs?: readonly (string | bigint)[]

The function input arguments being validated against

log?: Log<bigint, number, false, AbiEvent, true, AbiEvent[], string>

The viem log being validated against

stack?: string
cause?: unknown

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void