@munlib/common 1.0.197 → 1.0.198

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.
@@ -16,12 +16,13 @@ var __extends = (this && this.__extends) || (function () {
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.NotFoundError = void 0;
19
+ var instituciones_pagos_1 = require("../events/types/instituciones-pagos");
19
20
  var custom_error_1 = require("./custom-error");
20
21
  var erroresStatus_1 = require("./erroresStatus");
21
22
  var NotFoundError = /** @class */ (function (_super) {
22
23
  __extends(NotFoundError, _super);
23
24
  function NotFoundError() {
24
- var _this = _super.call(this, 'Route not found', "", "") || this;
25
+ var _this = _super.call(this, 'Route not found', instituciones_pagos_1.ErrorCategories.MIDDLEWARE, erroresStatus_1.ErrorController.getErrorMessage(instituciones_pagos_1.ErrorCategories.MIDDLEWARE)) || this;
25
26
  _this.statusCode = 404;
26
27
  _this.typeMsg = _this.typeMsg;
27
28
  _this.userMsg = _this.userMsg;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@munlib/common",
3
- "version": "1.0.197",
3
+ "version": "1.0.198",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",