diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-11 05:31:35 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-13 09:06:12 +0800 |
commit | 44c15fc1ef955a4e188708590eb45eebfea60f12 (patch) | |
tree | cbf07d7b17fc9d6ab0dd23fb04938f0056c8937e /src/types.ts | |
parent | 9d3fe1258a53d9e2169b3d733f64d3931fefcce0 (diff) | |
download | dexon-0x-contracts-44c15fc1ef955a4e188708590eb45eebfea60f12.tar dexon-0x-contracts-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.gz dexon-0x-contracts-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.bz2 dexon-0x-contracts-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.lz dexon-0x-contracts-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.xz dexon-0x-contracts-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.zst dexon-0x-contracts-44c15fc1ef955a4e188708590eb45eebfea60f12.zip |
Add more errors
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 8aaa666c3..10faa5cf3 100644 --- a/src/types.ts +++ b/src/types.ts @@ -18,12 +18,14 @@ export enum ZeroExError { SubscriptionNotFound = 'SUBSCRIPTION_NOT_FOUND', SubscriptionAlreadyPresent = 'SUBSCRIPTION_ALREADY_PRESENT', TransactionMiningTimeout = 'TRANSACTION_MINING_TIMEOUT', + FailedToFetchLatestBlock = 'FAILED_TO_FETCH_LATEST_BLOCK', } export enum InternalZeroExError { NoAbiDecoder = 'NO_ABI_DECODER', ZrxNotInTokenRegistry = 'ZRX_NOT_IN_TOKEN_REGISTRY', LatestBlockNumberNotSet = 'LATEST_BLOCK_NUMBER_NOT_SET', + Web3WrapperRequiredToStartBlockStore = 'WEB3_WRAPPER_REQUIRED_TO_START_BLOCK_STORE', } /** |