1 | import { makeErrorWithCode } from '@neo-one/utils';
|
2 |
|
3 | // tslint:disable-next-line export-name
|
4 | export const MultipleContractsInFileError = makeErrorWithCode(
|
5 | 'MULTIPLE_CONTRACTS_IN_FILE',
|
6 | (filePath: string) => `Only one contract is allowed per file: ${filePath}`,
|
7 | );
|
8 |
|
9 | export const CircularLinkedDependencyError = makeErrorWithCode(
|
10 | 'CIRCULAR_LINKED_DEPENDENCY',
|
11 | () => 'Linked smart contracts have a circular dependency.',
|
12 | );
|