@degenerate/generic 0.0.10 → 0.0.11
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.
- package/dist/errors/index.d.ts +1 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +1 -0
- package/dist/errors/safe/safe-rules-errors.d.ts +11 -0
- package/dist/errors/safe/safe-rules-errors.d.ts.map +1 -0
- package/dist/errors/safe/safe-rules-errors.js +17 -0
- package/package.json +1 -1
package/dist/errors/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './base-error';
|
|
2
2
|
export * from './generic/generic-errors';
|
|
3
3
|
export * from './request/request-errors';
|
|
4
|
+
export * from './safe/safe-rules-errors';
|
|
4
5
|
export * from './scheduler/scheduler-errors';
|
|
5
6
|
export * from './share-data/share-data-errors';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC"}
|
package/dist/errors/index.js
CHANGED
|
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./base-error"), exports);
|
|
18
18
|
__exportStar(require("./generic/generic-errors"), exports);
|
|
19
19
|
__exportStar(require("./request/request-errors"), exports);
|
|
20
|
+
__exportStar(require("./safe/safe-rules-errors"), exports);
|
|
20
21
|
__exportStar(require("./scheduler/scheduler-errors"), exports);
|
|
21
22
|
__exportStar(require("./share-data/share-data-errors"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseError } from '../base-error';
|
|
2
|
+
/**
|
|
3
|
+
* This error is thrown when a speical condition pattern is not valid
|
|
4
|
+
*/
|
|
5
|
+
export declare class SafeRuleEvaluationSpecialConditionPatternError extends BaseError {
|
|
6
|
+
/**
|
|
7
|
+
* This error is thrown when a speical condition pattern is not valid
|
|
8
|
+
*/
|
|
9
|
+
constructor(dataValue: unknown, conditionValue: unknown);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=safe-rules-errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safe-rules-errors.d.ts","sourceRoot":"","sources":["../../../src/errors/safe/safe-rules-errors.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C;;GAEG;AACH,qBAAa,8CAA+C,SAAQ,SAAS;IACzE;;OAEG;gBACS,SAAS,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO;CAG1D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SafeRuleEvaluationSpecialConditionPatternError = void 0;
|
|
4
|
+
// This file contains the errors for the share data rules.
|
|
5
|
+
const base_error_1 = require("../base-error");
|
|
6
|
+
/**
|
|
7
|
+
* This error is thrown when a speical condition pattern is not valid
|
|
8
|
+
*/
|
|
9
|
+
class SafeRuleEvaluationSpecialConditionPatternError extends base_error_1.BaseError {
|
|
10
|
+
/**
|
|
11
|
+
* This error is thrown when a speical condition pattern is not valid
|
|
12
|
+
*/
|
|
13
|
+
constructor(dataValue, conditionValue) {
|
|
14
|
+
super(`Share Rule special condition pattern evaluation failed to execute. dataValue ${dataValue} and conditionValue: ${conditionValue}`);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SafeRuleEvaluationSpecialConditionPatternError = SafeRuleEvaluationSpecialConditionPatternError;
|
package/package.json
CHANGED