aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/token_utils.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 19:25:15 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 19:25:15 +0800
commite5bdf60460330a24597e018f3611e7bc939c1362 (patch)
treebdbe710ada39c7619efa5087cdd4eee6256cbf33 /test/utils/token_utils.ts
parent11c48ced00ef4c25aeffd47504685f0a3bf3e7e3 (diff)
downloaddexon-sol-tools-e5bdf60460330a24597e018f3611e7bc939c1362.tar
dexon-sol-tools-e5bdf60460330a24597e018f3611e7bc939c1362.tar.gz
dexon-sol-tools-e5bdf60460330a24597e018f3611e7bc939c1362.tar.bz2
dexon-sol-tools-e5bdf60460330a24597e018f3611e7bc939c1362.tar.lz
dexon-sol-tools-e5bdf60460330a24597e018f3611e7bc939c1362.tar.xz
dexon-sol-tools-e5bdf60460330a24597e018f3611e7bc939c1362.tar.zst
dexon-sol-tools-e5bdf60460330a24597e018f3611e7bc939c1362.zip
Move ZRX_NOT_IN_TOKEN_REGISTRY to InternalZeroExError
Diffstat (limited to 'test/utils/token_utils.ts')
-rw-r--r--test/utils/token_utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/token_utils.ts b/test/utils/token_utils.ts
index 60cf4527b..51cb9411c 100644
--- a/test/utils/token_utils.ts
+++ b/test/utils/token_utils.ts
@@ -1,5 +1,5 @@
import * as _ from 'lodash';
-import {Token, ZeroExError} from '../../src';
+import {Token, InternalZeroExError} from '../../src/types';
const PROTOCOL_TOKEN_SYMBOL = 'ZRX';
@@ -11,7 +11,7 @@ export class TokenUtils {
public getProtocolTokenOrThrow(): Token {
const zrxToken = _.find(this.tokens, {symbol: PROTOCOL_TOKEN_SYMBOL});
if (_.isUndefined(zrxToken)) {
- throw new Error(ZeroExError.ZrxNotInTokenRegistry);
+ throw new Error(InternalZeroExError.ZrxNotInTokenRegistry);
}
return zrxToken;
}