@lakutata/core 1.0.42 → 1.0.43

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.
Files changed (48) hide show
  1. package/build/base/abstracts/Exception.d.ts +1 -1
  2. package/build/exceptions/ComponentNotFoundException.d.ts +1 -1
  3. package/build/exceptions/ComponentNotFoundException.js +1 -1
  4. package/build/exceptions/ComponentNotFoundException.js.map +1 -1
  5. package/build/exceptions/CryptoException.d.ts +1 -1
  6. package/build/exceptions/CryptoException.js +1 -1
  7. package/build/exceptions/CryptoException.js.map +1 -1
  8. package/build/exceptions/FatalException.d.ts +1 -1
  9. package/build/exceptions/FatalException.js +1 -1
  10. package/build/exceptions/FatalException.js.map +1 -1
  11. package/build/exceptions/HttpRequestException.d.ts +1 -1
  12. package/build/exceptions/HttpRequestException.js +1 -1
  13. package/build/exceptions/HttpRequestException.js.map +1 -1
  14. package/build/exceptions/InvalidMethodAcceptException.d.ts +1 -1
  15. package/build/exceptions/InvalidMethodAcceptException.js +1 -1
  16. package/build/exceptions/InvalidMethodAcceptException.js.map +1 -1
  17. package/build/exceptions/InvalidMethodReturnException.d.ts +1 -1
  18. package/build/exceptions/InvalidMethodReturnException.js +1 -1
  19. package/build/exceptions/InvalidMethodReturnException.js.map +1 -1
  20. package/build/exceptions/ModuleNotFoundException.d.ts +1 -1
  21. package/build/exceptions/ModuleNotFoundException.js +1 -1
  22. package/build/exceptions/ModuleNotFoundException.js.map +1 -1
  23. package/build/exceptions/ProcessException.d.ts +1 -1
  24. package/build/exceptions/ProcessException.js +1 -1
  25. package/build/exceptions/ProcessException.js.map +1 -1
  26. package/build/exceptions/ThreadException.d.ts +1 -1
  27. package/build/exceptions/ThreadException.js +1 -1
  28. package/build/exceptions/ThreadException.js.map +1 -1
  29. package/build/exceptions/TimeoutException.d.ts +1 -1
  30. package/build/exceptions/TimeoutException.js +1 -1
  31. package/build/exceptions/TimeoutException.js.map +1 -1
  32. package/build/exceptions/ValidationException.d.ts +1 -1
  33. package/build/exceptions/ValidationException.js +1 -1
  34. package/build/exceptions/ValidationException.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/base/abstracts/Exception.ts +1 -1
  37. package/src/exceptions/ComponentNotFoundException.ts +2 -2
  38. package/src/exceptions/CryptoException.ts +2 -2
  39. package/src/exceptions/FatalException.ts +2 -2
  40. package/src/exceptions/HttpRequestException.ts +2 -2
  41. package/src/exceptions/InvalidMethodAcceptException.ts +2 -2
  42. package/src/exceptions/InvalidMethodReturnException.ts +2 -2
  43. package/src/exceptions/ModuleNotFoundException.ts +2 -2
  44. package/src/exceptions/ProcessException.ts +2 -2
  45. package/src/exceptions/ThreadException.ts +2 -2
  46. package/src/exceptions/TimeoutException.ts +2 -2
  47. package/src/exceptions/ValidationException.ts +2 -2
  48. package/src/tests/exceptions/TestException.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  export declare abstract class Exception extends Error {
2
2
  abstract district: string;
3
- abstract errno: number;
3
+ abstract errno: number | string;
4
4
  readonly appId: string;
5
5
  readonly appName: string;
6
6
  readonly errMsg: string;
@@ -1,6 +1,6 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class ComponentNotFoundException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  protected templates(): string[];
6
6
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class ComponentNotFoundException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 9;
8
+ this.errno = 'E_COMPONENT_NOT_FOUND';
9
9
  }
10
10
  templates() {
11
11
  return [
@@ -1 +1 @@
1
- {"version":3,"file":"ComponentNotFoundException.js","sourceRoot":"","sources":["../../src/exceptions/ComponentNotFoundException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,0BAA2B,SAAQ,qBAAS;IAAzD;;QAEQ,UAAK,GAAW,CAAC,CAAA;IAOzB,CAAC;IALU,SAAS;QAClB,OAAO;YACN,6BAA6B;SAC7B,CAAA;IACF,CAAC;CACD;AATD,gEASC"}
1
+ {"version":3,"file":"ComponentNotFoundException.js","sourceRoot":"","sources":["../../src/exceptions/ComponentNotFoundException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,0BAA2B,SAAQ,qBAAS;IAAzD;;QAEQ,UAAK,GAAoB,uBAAuB,CAAA;IAOxD,CAAC;IALU,SAAS;QAClB,OAAO;YACN,6BAA6B;SAC7B,CAAA;IACF,CAAC;CACD;AATD,gEASC"}
@@ -1,5 +1,5 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class CryptoException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class CryptoException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 7;
8
+ this.errno = 'E_CRYPTO';
9
9
  }
10
10
  }
11
11
  exports.CryptoException = CryptoException;
@@ -1 +1 @@
1
- {"version":3,"file":"CryptoException.js","sourceRoot":"","sources":["../../src/exceptions/CryptoException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,eAAgB,SAAQ,qBAAS;IAA9C;;QAEQ,UAAK,GAAW,CAAC,CAAA;IACzB,CAAC;CAAA;AAHD,0CAGC"}
1
+ {"version":3,"file":"CryptoException.js","sourceRoot":"","sources":["../../src/exceptions/CryptoException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,eAAgB,SAAQ,qBAAS;IAA9C;;QAEQ,UAAK,GAAoB,UAAU,CAAA;IAC3C,CAAC;CAAA;AAHD,0CAGC"}
@@ -1,5 +1,5 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class FatalException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class FatalException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 1;
8
+ this.errno = 'E_FATAL';
9
9
  }
10
10
  }
11
11
  exports.FatalException = FatalException;
@@ -1 +1 @@
1
- {"version":3,"file":"FatalException.js","sourceRoot":"","sources":["../../src/exceptions/FatalException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,cAAe,SAAQ,qBAAS;IAA7C;;QAEQ,UAAK,GAAW,CAAC,CAAA;IACzB,CAAC;CAAA;AAHD,wCAGC"}
1
+ {"version":3,"file":"FatalException.js","sourceRoot":"","sources":["../../src/exceptions/FatalException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,cAAe,SAAQ,qBAAS;IAA7C;;QAEQ,UAAK,GAAoB,SAAS,CAAA;IAC1C,CAAC;CAAA;AAHD,wCAGC"}
@@ -1,6 +1,6 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class HttpRequestException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  protected templates(): string[];
6
6
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class HttpRequestException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 6;
8
+ this.errno = 'E_HTTP_REQUEST';
9
9
  }
10
10
  templates() {
11
11
  return [
@@ -1 +1 @@
1
- {"version":3,"file":"HttpRequestException.js","sourceRoot":"","sources":["../../src/exceptions/HttpRequestException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,oBAAqB,SAAQ,qBAAS;IAAnD;;QAEQ,UAAK,GAAW,CAAC,CAAA;IAUzB,CAAC;IARU,SAAS;QAClB,OAAO;YACN,kCAAkC;YAClC,oDAAoD;YACpD,6DAA6D;YAC7D,kCAAkC;SAClC,CAAA;IACF,CAAC;CACD;AAZD,oDAYC"}
1
+ {"version":3,"file":"HttpRequestException.js","sourceRoot":"","sources":["../../src/exceptions/HttpRequestException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,oBAAqB,SAAQ,qBAAS;IAAnD;;QAEQ,UAAK,GAAoB,gBAAgB,CAAA;IAUjD,CAAC;IARU,SAAS;QAClB,OAAO;YACN,kCAAkC;YAClC,oDAAoD;YACpD,6DAA6D;YAC7D,kCAAkC;SAClC,CAAA;IACF,CAAC;CACD;AAZD,oDAYC"}
@@ -1,5 +1,5 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class InvalidMethodAcceptException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class InvalidMethodAcceptException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 21;
8
+ this.errno = 'E_INVALID_METHOD_ACCEPT';
9
9
  }
10
10
  }
11
11
  exports.InvalidMethodAcceptException = InvalidMethodAcceptException;
@@ -1 +1 @@
1
- {"version":3,"file":"InvalidMethodAcceptException.js","sourceRoot":"","sources":["../../src/exceptions/InvalidMethodAcceptException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,4BAA6B,SAAQ,qBAAS;IAA3D;;QAEQ,UAAK,GAAW,EAAE,CAAA;IAC1B,CAAC;CAAA;AAHD,oEAGC"}
1
+ {"version":3,"file":"InvalidMethodAcceptException.js","sourceRoot":"","sources":["../../src/exceptions/InvalidMethodAcceptException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,4BAA6B,SAAQ,qBAAS;IAA3D;;QAEQ,UAAK,GAAoB,yBAAyB,CAAA;IAC1D,CAAC;CAAA;AAHD,oEAGC"}
@@ -1,5 +1,5 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class InvalidMethodReturnException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class InvalidMethodReturnException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 22;
8
+ this.errno = 'E_INVALID_METHOD_RETURN';
9
9
  }
10
10
  }
11
11
  exports.InvalidMethodReturnException = InvalidMethodReturnException;
@@ -1 +1 @@
1
- {"version":3,"file":"InvalidMethodReturnException.js","sourceRoot":"","sources":["../../src/exceptions/InvalidMethodReturnException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,4BAA6B,SAAQ,qBAAS;IAA3D;;QAEQ,UAAK,GAAW,EAAE,CAAA;IAC1B,CAAC;CAAA;AAHD,oEAGC"}
1
+ {"version":3,"file":"InvalidMethodReturnException.js","sourceRoot":"","sources":["../../src/exceptions/InvalidMethodReturnException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,4BAA6B,SAAQ,qBAAS;IAA3D;;QAEQ,UAAK,GAAoB,yBAAyB,CAAA;IAC1D,CAAC;CAAA;AAHD,oEAGC"}
@@ -1,6 +1,6 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class ModuleNotFoundException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  protected templates(): string[];
6
6
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class ModuleNotFoundException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 8;
8
+ this.errno = 'E_MODULE_NOT_FOUND';
9
9
  }
10
10
  templates() {
11
11
  return [
@@ -1 +1 @@
1
- {"version":3,"file":"ModuleNotFoundException.js","sourceRoot":"","sources":["../../src/exceptions/ModuleNotFoundException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,uBAAwB,SAAQ,qBAAS;IAAtD;;QAEQ,UAAK,GAAW,CAAC,CAAA;IAOzB,CAAC;IALU,SAAS;QAClB,OAAO;YACN,0BAA0B;SAC1B,CAAA;IACF,CAAC;CACD;AATD,0DASC"}
1
+ {"version":3,"file":"ModuleNotFoundException.js","sourceRoot":"","sources":["../../src/exceptions/ModuleNotFoundException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,uBAAwB,SAAQ,qBAAS;IAAtD;;QAEQ,UAAK,GAAoB,oBAAoB,CAAA;IAOrD,CAAC;IALU,SAAS;QAClB,OAAO;YACN,0BAA0B;SAC1B,CAAA;IACF,CAAC;CACD;AATD,0DASC"}
@@ -1,5 +1,5 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class ProcessException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class ProcessException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 5;
8
+ this.errno = 'E_PROCESS';
9
9
  }
10
10
  }
11
11
  exports.ProcessException = ProcessException;
@@ -1 +1 @@
1
- {"version":3,"file":"ProcessException.js","sourceRoot":"","sources":["../../src/exceptions/ProcessException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,gBAAiB,SAAQ,qBAAS;IAA/C;;QAEQ,UAAK,GAAW,CAAC,CAAA;IACzB,CAAC;CAAA;AAHD,4CAGC"}
1
+ {"version":3,"file":"ProcessException.js","sourceRoot":"","sources":["../../src/exceptions/ProcessException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,gBAAiB,SAAQ,qBAAS;IAA/C;;QAEQ,UAAK,GAAoB,WAAW,CAAA;IAC5C,CAAC;CAAA;AAHD,4CAGC"}
@@ -1,5 +1,5 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class ThreadException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class ThreadException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 4;
8
+ this.errno = 'E_THREAD';
9
9
  }
10
10
  }
11
11
  exports.ThreadException = ThreadException;
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadException.js","sourceRoot":"","sources":["../../src/exceptions/ThreadException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,eAAgB,SAAQ,qBAAS;IAA9C;;QAEQ,UAAK,GAAW,CAAC,CAAA;IACzB,CAAC;CAAA;AAHD,0CAGC"}
1
+ {"version":3,"file":"ThreadException.js","sourceRoot":"","sources":["../../src/exceptions/ThreadException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,eAAgB,SAAQ,qBAAS;IAA9C;;QAEQ,UAAK,GAAoB,UAAU,CAAA;IAC3C,CAAC;CAAA;AAHD,0CAGC"}
@@ -1,5 +1,5 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class TimeoutException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class TimeoutException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 3;
8
+ this.errno = 'E_TIMEOUT';
9
9
  }
10
10
  }
11
11
  exports.TimeoutException = TimeoutException;
@@ -1 +1 @@
1
- {"version":3,"file":"TimeoutException.js","sourceRoot":"","sources":["../../src/exceptions/TimeoutException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,gBAAiB,SAAQ,qBAAS;IAA/C;;QAEQ,UAAK,GAAW,CAAC,CAAA;IACzB,CAAC;CAAA;AAHD,4CAGC"}
1
+ {"version":3,"file":"TimeoutException.js","sourceRoot":"","sources":["../../src/exceptions/TimeoutException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,gBAAiB,SAAQ,qBAAS;IAA/C;;QAEQ,UAAK,GAAoB,WAAW,CAAA;IAC5C,CAAC;CAAA;AAHD,4CAGC"}
@@ -1,5 +1,5 @@
1
1
  import { Exception } from '../base/abstracts/Exception';
2
2
  export declare class ValidationException extends Exception {
3
3
  district: string;
4
- errno: number;
4
+ errno: number | string;
5
5
  }
@@ -5,7 +5,7 @@ const Exception_1 = require("../base/abstracts/Exception");
5
5
  class ValidationException extends Exception_1.Exception {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.errno = 2;
8
+ this.errno = 'E_VALIDATION';
9
9
  }
10
10
  }
11
11
  exports.ValidationException = ValidationException;
@@ -1 +1 @@
1
- {"version":3,"file":"ValidationException.js","sourceRoot":"","sources":["../../src/exceptions/ValidationException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,mBAAoB,SAAQ,qBAAS;IAAlD;;QAEQ,UAAK,GAAW,CAAC,CAAA;IACzB,CAAC;CAAA;AAHD,kDAGC"}
1
+ {"version":3,"file":"ValidationException.js","sourceRoot":"","sources":["../../src/exceptions/ValidationException.ts"],"names":[],"mappings":";;;AAAA,2DAAqD;AAErD,MAAa,mBAAoB,SAAQ,qBAAS;IAAlD;;QAEQ,UAAK,GAAoB,cAAc,CAAA;IAC/C,CAAC;CAAA;AAHD,kDAGC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lakutata/core",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "Lakutata Framework Core",
5
5
  "main": "./build/Core.js",
6
6
  "types": "./build/Core.d.ts",
@@ -3,7 +3,7 @@ import {format} from 'util'
3
3
 
4
4
  export abstract class Exception extends Error {
5
5
  public abstract district: string
6
- public abstract errno: number
6
+ public abstract errno: number | string
7
7
  public readonly appId: string = process.env.appId ? process.env.appId : 'Unknown'
8
8
  public readonly appName: string = process.env.appName ? process.env.appName : 'Unknown'
9
9
  public readonly errMsg: string
@@ -2,11 +2,11 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class ComponentNotFoundException extends Exception {
4
4
  public district: string
5
- public errno: number = 9
5
+ public errno: number | string = 'E_COMPONENT_NOT_FOUND'
6
6
 
7
7
  protected templates(): string[] {
8
8
  return [
9
9
  'Component \'{0}\' not found'
10
10
  ]
11
11
  }
12
- }
12
+ }
@@ -2,5 +2,5 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class CryptoException extends Exception {
4
4
  public district: string
5
- public errno: number = 7
6
- }
5
+ public errno: number | string = 'E_CRYPTO'
6
+ }
@@ -2,5 +2,5 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class FatalException extends Exception {
4
4
  public district: string
5
- public errno: number = 1
6
- }
5
+ public errno: number | string = 'E_FATAL'
6
+ }
@@ -2,7 +2,7 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class HttpRequestException extends Exception {
4
4
  public district: string
5
- public errno: number = 6
5
+ public errno: number | string = 'E_HTTP_REQUEST'
6
6
 
7
7
  protected templates(): string[] {
8
8
  return [
@@ -12,4 +12,4 @@ export class HttpRequestException extends Exception {
12
12
  'Http request error occurred: {0}'
13
13
  ]
14
14
  }
15
- }
15
+ }
@@ -2,5 +2,5 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class InvalidMethodAcceptException extends Exception {
4
4
  public district: string
5
- public errno: number = 21
6
- }
5
+ public errno: number | string = 'E_INVALID_METHOD_ACCEPT'
6
+ }
@@ -2,5 +2,5 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class InvalidMethodReturnException extends Exception {
4
4
  public district: string
5
- public errno: number = 22
6
- }
5
+ public errno: number | string = 'E_INVALID_METHOD_RETURN'
6
+ }
@@ -2,11 +2,11 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class ModuleNotFoundException extends Exception {
4
4
  public district: string
5
- public errno: number = 8
5
+ public errno: number | string = 'E_MODULE_NOT_FOUND'
6
6
 
7
7
  protected templates(): string[] {
8
8
  return [
9
9
  'Module \'{0}\' not found'
10
10
  ]
11
11
  }
12
- }
12
+ }
@@ -2,5 +2,5 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class ProcessException extends Exception {
4
4
  public district: string
5
- public errno: number = 5
6
- }
5
+ public errno: number | string = 'E_PROCESS'
6
+ }
@@ -2,5 +2,5 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class ThreadException extends Exception {
4
4
  public district: string
5
- public errno: number = 4
6
- }
5
+ public errno: number | string = 'E_THREAD'
6
+ }
@@ -2,5 +2,5 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class TimeoutException extends Exception {
4
4
  public district: string
5
- public errno: number = 3
6
- }
5
+ public errno: number | string = 'E_TIMEOUT'
6
+ }
@@ -2,5 +2,5 @@ import {Exception} from '../base/abstracts/Exception'
2
2
 
3
3
  export class ValidationException extends Exception {
4
4
  public district: string
5
- public errno: number = 2
6
- }
5
+ public errno: number | string = 'E_VALIDATION'
6
+ }
@@ -2,5 +2,5 @@ import {Exception} from '../../Core'
2
2
 
3
3
  export class TestException extends Exception {
4
4
  public district: string
5
- public errno: number = 99999
5
+ public errno: number | string = 'E_TEST'
6
6
  }