@injectivelabs/exceptions 1.15.3 → 1.15.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -67,7 +67,7 @@ export declare abstract class ConcreteException extends Error implements Excepti
|
|
|
67
67
|
errorClass: string;
|
|
68
68
|
message: string;
|
|
69
69
|
context: string | undefined;
|
|
70
|
-
contextCode:
|
|
70
|
+
contextCode: number | undefined;
|
|
71
71
|
contextModule: string | undefined;
|
|
72
72
|
originalMessage: string;
|
|
73
73
|
stack: string[];
|
|
@@ -421,4 +421,4 @@ export type IndexerApiErrorCode = number;
|
|
|
421
421
|
export declare const UnspecifiedErrorCode = -1;
|
|
422
422
|
export type ErrorCode = grpcPkg.grpc.Code | StatusCodes | typeof UnspecifiedErrorCode | GrpcErrorCode;
|
|
423
423
|
export declare const GRPC_REQUEST_FAILED = GrpcErrorCode.Unavailable;
|
|
424
|
-
export type ErrorContextCode = ChainAuctionErrorCodes | ChainAuthZErrorCodes | ChainCosmosErrorCode | ChainExchangeModuleErrorCode | ChainInsuranceErrorCodes | ChainOcrErrorCodes | ChainOracleErrorCodes | ChainPeggyErrorCodes | ChainTokenFactoryErrorCodes | ChainWasmXErrorCodes | ChainDistributionErrorCodes | ChainBankErrorCodes | ChainGovErrorCodes | ChainStakingErrorCodes | ChainWasmErrorCodes | ErrorCode | typeof UnspecifiedErrorCode;
|
|
424
|
+
export type ErrorContextCode = ChainAuctionErrorCodes | ChainAuthZErrorCodes | ChainCosmosErrorCode | ChainExchangeModuleErrorCode | ChainInsuranceErrorCodes | ChainOcrErrorCodes | ChainOracleErrorCodes | ChainPeggyErrorCodes | ChainTokenFactoryErrorCodes | ChainWasmXErrorCodes | ChainDistributionErrorCodes | ChainBankErrorCodes | ChainGovErrorCodes | ChainStakingErrorCodes | ChainWasmErrorCodes | ErrorCode | number | typeof UnspecifiedErrorCode;
|
|
@@ -67,7 +67,7 @@ export declare abstract class ConcreteException extends Error implements Excepti
|
|
|
67
67
|
errorClass: string;
|
|
68
68
|
message: string;
|
|
69
69
|
context: string | undefined;
|
|
70
|
-
contextCode:
|
|
70
|
+
contextCode: number | undefined;
|
|
71
71
|
contextModule: string | undefined;
|
|
72
72
|
originalMessage: string;
|
|
73
73
|
stack: string[];
|
|
@@ -421,4 +421,4 @@ export type IndexerApiErrorCode = number;
|
|
|
421
421
|
export declare const UnspecifiedErrorCode = -1;
|
|
422
422
|
export type ErrorCode = grpcPkg.grpc.Code | StatusCodes | typeof UnspecifiedErrorCode | GrpcErrorCode;
|
|
423
423
|
export declare const GRPC_REQUEST_FAILED = GrpcErrorCode.Unavailable;
|
|
424
|
-
export type ErrorContextCode = ChainAuctionErrorCodes | ChainAuthZErrorCodes | ChainCosmosErrorCode | ChainExchangeModuleErrorCode | ChainInsuranceErrorCodes | ChainOcrErrorCodes | ChainOracleErrorCodes | ChainPeggyErrorCodes | ChainTokenFactoryErrorCodes | ChainWasmXErrorCodes | ChainDistributionErrorCodes | ChainBankErrorCodes | ChainGovErrorCodes | ChainStakingErrorCodes | ChainWasmErrorCodes | ErrorCode | typeof UnspecifiedErrorCode;
|
|
424
|
+
export type ErrorContextCode = ChainAuctionErrorCodes | ChainAuthZErrorCodes | ChainCosmosErrorCode | ChainExchangeModuleErrorCode | ChainInsuranceErrorCodes | ChainOcrErrorCodes | ChainOracleErrorCodes | ChainPeggyErrorCodes | ChainTokenFactoryErrorCodes | ChainWasmXErrorCodes | ChainDistributionErrorCodes | ChainBankErrorCodes | ChainGovErrorCodes | ChainStakingErrorCodes | ChainWasmErrorCodes | ErrorCode | number | typeof UnspecifiedErrorCode;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/exceptions",
|
|
3
3
|
"description": "List of exceptions that can be reused throughout Injective's projects.",
|
|
4
|
-
"version": "1.15.
|
|
4
|
+
"version": "1.15.5",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "module",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"shx": "^0.3.4"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "2be8934e197cb79cafd9c4e1ba04dfadbbcc5fa0"
|
|
65
65
|
}
|