From d1e4f6efdd14dc3b7c73b1d95f360cedaf4df03b Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 4 Oct 2017 11:53:02 +0300 Subject: Move NoAbiDecoder to InternalZeroExErrors --- src/contract_wrappers/contract_wrapper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/contract_wrappers/contract_wrapper.ts') 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; -- cgit