@nu-art/ts-common 0.204.105 → 0.204.106

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.
@@ -137,6 +137,12 @@ export declare class ConfigMissingException extends CustomException {
137
137
  export declare class MissingDataException extends CustomException {
138
138
  constructor(message: string, cause?: Error);
139
139
  }
140
+ /**
141
+ * When attempting to perform an action without the necessary permission
142
+ */
143
+ export declare class MissingPermissionException extends CustomException {
144
+ constructor(message: string, cause?: Error);
145
+ }
140
146
  /**
141
147
  * # <ins>AssertionException</ins>
142
148
  * This class inherits {@link CustomException} and functions like it, after setting the exceptionType property as "AssertionException",
@@ -20,7 +20,7 @@
20
20
  * Created by TacB0sS on 3/16/17.
21
21
  */
22
22
  Object.defineProperty(exports, "__esModule", { value: true });
23
- exports.ApiException = exports.AssertionException = exports.MissingDataException = exports.ConfigMissingException = exports.WhoCallThisException = exports.DontCallThisException = exports.HasDependenciesException = exports.ThisShouldNotHappenException = exports.NotImplementedYetException = exports.MUSTNeverHappenException = exports.ImplementationMissingException = exports.BadImplementationException = exports.Exception = exports.CustomException = exports.isErrorOfType = void 0;
23
+ exports.ApiException = exports.AssertionException = exports.MissingPermissionException = exports.MissingDataException = exports.ConfigMissingException = exports.WhoCallThisException = exports.DontCallThisException = exports.HasDependenciesException = exports.ThisShouldNotHappenException = exports.NotImplementedYetException = exports.MUSTNeverHappenException = exports.ImplementationMissingException = exports.BadImplementationException = exports.Exception = exports.CustomException = exports.isErrorOfType = void 0;
24
24
  const utils_1 = require("../logger/utils");
25
25
  /**
26
26
  * # <ins>isErrorOfType</ins>
@@ -196,10 +196,19 @@ exports.ConfigMissingException = ConfigMissingException;
196
196
  */
197
197
  class MissingDataException extends CustomException {
198
198
  constructor(message, cause) {
199
- super(ConfigMissingException, message, cause);
199
+ super(MissingDataException, message, cause);
200
200
  }
201
201
  }
202
202
  exports.MissingDataException = MissingDataException;
203
+ /**
204
+ * When attempting to perform an action without the necessary permission
205
+ */
206
+ class MissingPermissionException extends CustomException {
207
+ constructor(message, cause) {
208
+ super(MissingPermissionException, message, cause);
209
+ }
210
+ }
211
+ exports.MissingPermissionException = MissingPermissionException;
203
212
  /**
204
213
  * # <ins>AssertionException</ins>
205
214
  * This class inherits {@link CustomException} and functions like it, after setting the exceptionType property as "AssertionException",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/ts-common",
3
- "version": "0.204.105",
3
+ "version": "0.204.106",
4
4
  "description": "js and ts infra",
5
5
  "keywords": [
6
6
  "TacB0sS",