UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

9 lines (7 loc) 593 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CircularLinkedDependencyError = exports.MultipleContractsInFileError = void 0; const utils_1 = require("@neo-one/utils"); exports.MultipleContractsInFileError = utils_1.makeErrorWithCode('MULTIPLE_CONTRACTS_IN_FILE', (filePath) => `Only one contract is allowed per file: ${filePath}`); exports.CircularLinkedDependencyError = utils_1.makeErrorWithCode('CIRCULAR_LINKED_DEPENDENCY', (contracts) => `Circular Dependency found in linked-contracts: ${contracts.join(`\n`)}`); //# sourceMappingURL=errors.js.map