From 44c15fc1ef955a4e188708590eb45eebfea60f12 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 10 Nov 2017 16:31:35 -0500 Subject: Add more errors --- src/types.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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', } /** -- cgit v1.2.3