diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-04 16:53:02 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-04 16:53:02 +0800 |
commit | d1e4f6efdd14dc3b7c73b1d95f360cedaf4df03b (patch) | |
tree | e7db1e5909faa6487c90b76abfdefaa00d04784b /src/contract_wrappers | |
parent | f65bfc1ab1425e4866b5b7b7ecf2a30e0eb018a7 (diff) | |
download | dexon-sol-tools-d1e4f6efdd14dc3b7c73b1d95f360cedaf4df03b.tar dexon-sol-tools-d1e4f6efdd14dc3b7c73b1d95f360cedaf4df03b.tar.gz dexon-sol-tools-d1e4f6efdd14dc3b7c73b1d95f360cedaf4df03b.tar.bz2 dexon-sol-tools-d1e4f6efdd14dc3b7c73b1d95f360cedaf4df03b.tar.lz dexon-sol-tools-d1e4f6efdd14dc3b7c73b1d95f360cedaf4df03b.tar.xz dexon-sol-tools-d1e4f6efdd14dc3b7c73b1d95f360cedaf4df03b.tar.zst dexon-sol-tools-d1e4f6efdd14dc3b7c73b1d95f360cedaf4df03b.zip |
Move NoAbiDecoder to InternalZeroExErrors
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r-- | src/contract_wrappers/contract_wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/contract_wrapper.ts b/src/contract_wrappers/contract_wrapper.ts index 921b5a6c2..cffd2f6f3 100644 --- a/src/contract_wrappers/contract_wrapper.ts +++ b/src/contract_wrappers/contract_wrapper.ts @@ -3,7 +3,7 @@ import * as Web3 from 'web3'; import {Web3Wrapper} from '../web3_wrapper'; import {AbiDecoder} from '../utils/abi_decoder'; import { - ZeroExError, + InternalZeroExError, Artifact, LogWithDecodedArgs, RawLog, @@ -40,7 +40,7 @@ export class ContractWrapper { } protected _tryToDecodeLogOrNoop(log: Web3.LogEntry): LogWithDecodedArgs|RawLog { if (_.isUndefined(this._abiDecoder)) { - throw new Error(ZeroExError.NoAbiDecoder); + throw new Error(InternalZeroExError.NoAbiDecoder); } const logWithDecodedArgs = this._abiDecoder.tryToDecodeLogOrNoop(log); return logWithDecodedArgs; |