This class is used for more transparent error
handling and as a base for other error classes. Note that
this class was added for future upgradeability in handling
errors.
example
Throwing a RuntimeError error
thrownewRuntimeError("This error happens at runtime.");
This class is used for more transparent error handling and as a base for other error classes. Note that this class was added for future upgradeability in handling errors.
Throwing a
RuntimeError
errorOther links
InvalidArgumentError | InvalidContractError | MissingContractFieldError | UnknownContractError
v0.3.0