Class FieldActionValidationError

The base error thrown during event action validation extended by more specific validation errors. Instantiated with relevent context data for more in depth debugging.

FieldActionValidationError

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