1 | "use strict";
|
2 |
|
3 |
|
4 | Object.defineProperty(exports, "__esModule", { value: true });
|
5 | exports.EnvMissingError = exports.EnvError = void 0;
|
6 | var tslib_1 = require("tslib");
|
7 | var EnvError = (function (_super) {
|
8 | tslib_1.__extends(EnvError, _super);
|
9 | function EnvError(message) {
|
10 | var _newTarget = this.constructor;
|
11 | var _this = _super.call(this, message) || this;
|
12 | Object.setPrototypeOf(_this, _newTarget.prototype);
|
13 | Error.captureStackTrace(_this, EnvError);
|
14 | _this.name = _this.constructor.name;
|
15 | return _this;
|
16 | }
|
17 | return EnvError;
|
18 | }(TypeError));
|
19 | exports.EnvError = EnvError;
|
20 | var EnvMissingError = (function (_super) {
|
21 | tslib_1.__extends(EnvMissingError, _super);
|
22 | function EnvMissingError(message) {
|
23 | var _newTarget = this.constructor;
|
24 | var _this = _super.call(this, message) || this;
|
25 | Object.setPrototypeOf(_this, _newTarget.prototype);
|
26 | Error.captureStackTrace(_this, EnvMissingError);
|
27 | _this.name = _this.constructor.name;
|
28 | return _this;
|
29 | }
|
30 | return EnvMissingError;
|
31 | }(ReferenceError));
|
32 | exports.EnvMissingError = EnvMissingError;
|
33 |
|
\ | No newline at end of file |