diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-05 22:11:35 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-05 22:11:35 +0800 |
commit | 32568ebf09c93dd35bfb751ae1a7a33926f3bab1 (patch) | |
tree | 0188dad3820c4bbc0907ad4727a198205af01668 | |
parent | c53d195ed0bc230badeffa64c963c9ab4c88f205 (diff) | |
download | dexon-sol-tools-32568ebf09c93dd35bfb751ae1a7a33926f3bab1.tar dexon-sol-tools-32568ebf09c93dd35bfb751ae1a7a33926f3bab1.tar.gz dexon-sol-tools-32568ebf09c93dd35bfb751ae1a7a33926f3bab1.tar.bz2 dexon-sol-tools-32568ebf09c93dd35bfb751ae1a7a33926f3bab1.tar.lz dexon-sol-tools-32568ebf09c93dd35bfb751ae1a7a33926f3bab1.tar.xz dexon-sol-tools-32568ebf09c93dd35bfb751ae1a7a33926f3bab1.tar.zst dexon-sol-tools-32568ebf09c93dd35bfb751ae1a7a33926f3bab1.zip |
Improve error message
-rw-r--r-- | packages/typed-contracts/src/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/typed-contracts/src/utils.ts b/packages/typed-contracts/src/utils.ts index f95da5393..eaf5a30cc 100644 --- a/packages/typed-contracts/src/utils.ts +++ b/packages/typed-contracts/src/utils.ts @@ -31,7 +31,7 @@ export const utils = { return tsType; } } - throw new Error(`Unknown type ${solType}`); + throw new Error(`Unknown Solidity type found: ${solType}`); } }, log(...args: any[]): void { |