Class InvalidComponentInterfaceError

This error is thrown when a target address was provided that doesn't match any supported interface for the given registry type. For example, if you try to do incentiveFromAddress() with the address of a deployed SimpleBudget

InvalidComponentInterfaceError

Hierarchy

  • Error
    • InvalidComponentInterfaceError

Constructors

Properties

stackTraceLimit: number
expected: `0x${string}`[] = []

Expected interface hashes.

received: `0x${string}` = zeroHash

The actual interface hash.

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

Optional override for formatting stack traces

stack?: string
cause?: unknown

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void