dce-commonkit 4.4.1 → 4.4.2
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.
|
@@ -3,8 +3,13 @@
|
|
|
3
3
|
* @author Gabe Abrams
|
|
4
4
|
*/
|
|
5
5
|
declare enum CommonKitErrorCode {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
UnknownError = "DCK1",
|
|
7
|
+
NoResponse = "DRK1",
|
|
8
|
+
NoCode = "DRK2",
|
|
9
|
+
SessionExpired = "DRK3",
|
|
10
|
+
NoCACCLSendRequestFunction = "DRK7",
|
|
11
|
+
SimpleDateChooserInvalidDateRange = "DRK35",
|
|
12
|
+
SimpleDateChooserInvalidNumMonths = "DRK36",
|
|
13
|
+
ETTimestampInvalid = "DRK37"
|
|
9
14
|
}
|
|
10
15
|
export default CommonKitErrorCode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Highest error code =
|
|
2
|
+
// Highest error code = DCK1
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
/**
|
|
5
5
|
* List of error codes built into the common kit
|
|
@@ -7,9 +7,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
*/
|
|
8
8
|
var CommonKitErrorCode;
|
|
9
9
|
(function (CommonKitErrorCode) {
|
|
10
|
-
|
|
11
|
-
CommonKitErrorCode["
|
|
12
|
-
|
|
10
|
+
// New commonkit codes should start with DCK:
|
|
11
|
+
CommonKitErrorCode["UnknownError"] = "DCK1";
|
|
12
|
+
// ReactKit-based Codes:
|
|
13
|
+
CommonKitErrorCode["NoResponse"] = "DRK1";
|
|
14
|
+
CommonKitErrorCode["NoCode"] = "DRK2";
|
|
15
|
+
CommonKitErrorCode["SessionExpired"] = "DRK3";
|
|
16
|
+
CommonKitErrorCode["NoCACCLSendRequestFunction"] = "DRK7";
|
|
17
|
+
CommonKitErrorCode["SimpleDateChooserInvalidDateRange"] = "DRK35";
|
|
18
|
+
CommonKitErrorCode["SimpleDateChooserInvalidNumMonths"] = "DRK36";
|
|
19
|
+
CommonKitErrorCode["ETTimestampInvalid"] = "DRK37";
|
|
13
20
|
})(CommonKitErrorCode || (CommonKitErrorCode = {}));
|
|
14
21
|
exports.default = CommonKitErrorCode;
|
|
15
22
|
//# sourceMappingURL=CommonKitErrorCode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommonKitErrorCode.js","sourceRoot":"","sources":["../../src/types/CommonKitErrorCode.ts"],"names":[],"mappings":";AAAA,4BAA4B;;AAE5B;;;GAGG;AACH,IAAK,
|
|
1
|
+
{"version":3,"file":"CommonKitErrorCode.js","sourceRoot":"","sources":["../../src/types/CommonKitErrorCode.ts"],"names":[],"mappings":";AAAA,4BAA4B;;AAE5B;;;GAGG;AACH,IAAK,kBAYJ;AAZD,WAAK,kBAAkB;IACrB,6CAA6C;IAC7C,2CAAqB,CAAA;IAErB,wBAAwB;IACxB,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,6CAAuB,CAAA;IACvB,yDAAmC,CAAA;IACnC,iEAA2C,CAAA;IAC3C,iEAA2C,CAAA;IAC3C,kDAA4B,CAAA;AAC9B,CAAC,EAZI,kBAAkB,KAAlB,kBAAkB,QAYtB;AAED,kBAAe,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
// Highest error code =
|
|
1
|
+
// Highest error code = DCK1
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* List of error codes built into the common kit
|
|
5
5
|
* @author Gabe Abrams
|
|
6
6
|
*/
|
|
7
7
|
enum CommonKitErrorCode {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
// New commonkit codes should start with DCK:
|
|
9
|
+
UnknownError = 'DCK1',
|
|
10
|
+
|
|
11
|
+
// ReactKit-based Codes:
|
|
12
|
+
NoResponse = 'DRK1',
|
|
13
|
+
NoCode = 'DRK2',
|
|
14
|
+
SessionExpired = 'DRK3',
|
|
15
|
+
NoCACCLSendRequestFunction = 'DRK7',
|
|
16
|
+
SimpleDateChooserInvalidDateRange = 'DRK35',
|
|
17
|
+
SimpleDateChooserInvalidNumMonths = 'DRK36',
|
|
18
|
+
ETTimestampInvalid = 'DRK37',
|
|
11
19
|
}
|
|
12
20
|
|
|
13
21
|
export default CommonKitErrorCode;
|