@injectivelabs/exceptions
Advanced tools
Comparing version 1.0.31 to 1.0.32
@@ -13,5 +13,5 @@ import { GrpcUnaryRequestException } from './GrpcUnaryRequestException'; | ||
import { Exception } from '../types'; | ||
export declare type ThrownException = GrpcUnaryRequestException | HttpRequestException | Web3Exception | GeneralException | LedgerException | MetamaskException | TrezorException | CosmosWalletException | TransactionException | WalletException | Web3GatewayTransactionException; | ||
export type ThrownException = GrpcUnaryRequestException | HttpRequestException | Web3Exception | GeneralException | LedgerException | MetamaskException | TrezorException | CosmosWalletException | TransactionException | WalletException | Web3GatewayTransactionException; | ||
export declare const isThrownException: (exception: Error | Exception) => boolean; | ||
export { GrpcUnaryRequestException, HttpRequestException, Web3Exception, GeneralException, LedgerException, MetamaskException, TrezorException, CosmosWalletException, TransactionException, WalletException, Web3GatewayTransactionException, }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -149,6 +149,6 @@ import type { grpc } from '@improbable-eng/grpc-web'; | ||
} | ||
export declare type IndexerApiErrorCode = number; | ||
export type IndexerApiErrorCode = number; | ||
export declare const UnspecifiedErrorCode = -1; | ||
export declare type ErrorCode = StatusCodes | typeof UnspecifiedErrorCode | grpc.Code; | ||
export declare type ErrorContextCode = ChainExchangeModuleErrorCode | ChainCosmosErrorCode | ChainAuctionErrorCodes | ChainInsuranceErrorCodes | typeof UnspecifiedErrorCode; | ||
export type ErrorCode = StatusCodes | typeof UnspecifiedErrorCode | grpc.Code; | ||
export type ErrorContextCode = ChainExchangeModuleErrorCode | ChainCosmosErrorCode | ChainAuctionErrorCodes | ChainInsuranceErrorCodes | typeof UnspecifiedErrorCode; | ||
//# sourceMappingURL=codes.d.ts.map |
{ | ||
"name": "@injectivelabs/exceptions", | ||
"description": "List of exceptions that can be reused throughout Injective's projects.", | ||
"version": "1.0.31", | ||
"version": "1.0.32", | ||
"license": "Apache-2.0", | ||
@@ -35,3 +35,3 @@ "main": "dist/index.js", | ||
"@improbable-eng/grpc-web": "^0.15.0", | ||
"@injectivelabs/ts-types": "^1.0.17", | ||
"@injectivelabs/ts-types": "^1.0.18", | ||
"http-status-codes": "^2.2.0", | ||
@@ -41,3 +41,3 @@ "link-module-alias": "^1.2.0", | ||
}, | ||
"gitHead": "c648c9406160781c4d122ebf68bbd28ef384794f" | ||
"gitHead": "e3150ffbb78703ba3dd641879277ff74bcf0016f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
153500