aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:14:51 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:14:51 +0800
commit16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83 (patch)
treec50e40fbc4b71c308b0c27699faca4fcdbf3c203 /src
parent199843718fba26db72db6196be5036339e0cf9f9 (diff)
downloaddexon-0x-contracts-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.tar.gz
dexon-0x-contracts-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.tar.zst
dexon-0x-contracts-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.zip
Add ZRX_TOKEN_NOT_IN_REGISTRY
Diffstat (limited to 'src')
-rw-r--r--src/types.ts11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/types.ts b/src/types.ts
index f58fa035c..3da24abc1 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -10,11 +10,12 @@ function strEnum(values: string[]): {[key: string]: string} {
}
export const ZeroExError = strEnum([
- 'CONTRACT_DOES_NOT_EXIST',
- 'UNHANDLED_ERROR',
- 'USER_HAS_NO_ASSOCIATED_ADDRESSES',
- 'INVALID_SIGNATURE',
- 'CONTRACT_NOT_DEPLOYED_ON_NETWORK',
+ 'CONTRACT_DOES_NOT_EXIST',
+ 'UNHANDLED_ERROR',
+ 'USER_HAS_NO_ASSOCIATED_ADDRESSES',
+ 'INVALID_SIGNATURE',
+ 'CONTRACT_NOT_DEPLOYED_ON_NETWORK',
+ 'ZRX_NOT_IN_TOKEN_REGISTRY',
]);
export type ZeroExError = keyof typeof ZeroExError;