This class is used for more transparent error
handling. It is thrown, notably by the Factory.buildContract
method that gets called internally when creating contract
instances from JSON payloads or transactions.
This error is thrown when the attached contract signature
could not get parsed into a valid contract child class instance.
example
Throwing an UnknownContractError error
thrownewUnknownContractError("This contract is unknown.");
This class is used for more transparent error handling. It is thrown, notably by the Factory.buildContract method that gets called internally when creating contract instances from JSON payloads or transactions.
This error is thrown when the attached contract signature could not get parsed into a valid contract child class instance.
Throwing an
UnknownContractError
errorOther links
Factory.buildContract
v0.3.0