1 | var __extends = (this && this.__extends) || (function () {
|
2 | var extendStatics = function (d, b) {
|
3 | 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 extendStatics(d, b);
|
7 | }
|
8 | return function (d, b) {
|
9 | extendStatics(d, b);
|
10 | function __() { this.constructor = d; }
|
11 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12 | };
|
13 | })();
|
14 | Object.defineProperty(exports, "__esModule", { value: true });
|
15 |
|
16 |
|
17 | var SchemaError = (function (_super) {
|
18 | __extends(SchemaError, _super);
|
19 | function SchemaError(message) {
|
20 | var _this = _super.call(this, message) || this;
|
21 | _this.message = message;
|
22 | Error.captureStackTrace(_this, _this.constructor);
|
23 | return _this;
|
24 | }
|
25 | return SchemaError;
|
26 | }(Error));
|
27 | exports.default = SchemaError;
|
28 |
|
\ | No newline at end of file |