Creates an instance of InvalidComponentInterfaceError.
Static
stackReadonly
expectedExpected interface hashes.
Readonly
receivedThe actual interface hash.
Static
Optional
prepareOptional override for formatting stack traces
Optional
stackOptional
cause
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 deployedSimpleBudget
Export
InvalidComponentInterfaceError