@newos/upgrades
Version:
Core JavaScript library for the NewOS
14 lines • 453 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class ContractNotFound extends Error {
constructor(contractName, dependency) {
if (dependency === undefined) {
super(`Contract ${contractName} not found`);
}
else {
super(`Contract ${contractName} not found in ${dependency}`);
}
}
}
exports.ContractNotFound = ContractNotFound;
//# sourceMappingURL=errors.js.map