aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-11 05:31:35 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-13 09:06:12 +0800
commit44c15fc1ef955a4e188708590eb45eebfea60f12 (patch)
treecbf07d7b17fc9d6ab0dd23fb04938f0056c8937e /src
parent9d3fe1258a53d9e2169b3d733f64d3931fefcce0 (diff)
downloaddexon-sol-tools-44c15fc1ef955a4e188708590eb45eebfea60f12.tar
dexon-sol-tools-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.gz
dexon-sol-tools-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.bz2
dexon-sol-tools-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.lz
dexon-sol-tools-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.xz
dexon-sol-tools-44c15fc1ef955a4e188708590eb45eebfea60f12.tar.zst
dexon-sol-tools-44c15fc1ef955a4e188708590eb45eebfea60f12.zip
Add more errors
Diffstat (limited to 'src')
-rw-r--r--src/types.ts2
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',
}
/**