UNPKG

1.25 kBJavaScriptView Raw
1"use strict";
2var __extends = (this && this.__extends) || (function () {
3 var extendStatics = Object.setPrototypeOf ||
4 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6 return function (d, b) {
7 extendStatics(d, b);
8 function __() { this.constructor = d; }
9 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
10 };
11})();
12Object.defineProperty(exports, "__esModule", { value: true });
13function ExtendableBuiltin(cls) {
14 function ExtendableBuiltin() {
15 cls.apply(this, arguments);
16 }
17 ExtendableBuiltin.prototype = Object.create(cls.prototype);
18 Object.setPrototypeOf(ExtendableBuiltin, cls);
19 return ExtendableBuiltin;
20}
21var ConfigNotFoundError = /** @class */ (function (_super) {
22 __extends(ConfigNotFoundError, _super);
23 function ConfigNotFoundError(message) {
24 var _this = _super.call(this, message) || this;
25 _this.name = _this.constructor.name;
26 _this.message = message;
27 return _this;
28 }
29 return ConfigNotFoundError;
30}(ExtendableBuiltin(Error)));
31exports.ConfigNotFoundError = ConfigNotFoundError;