1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports["default"] = void 0;
|
7 |
|
8 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
9 |
|
10 |
|
11 | var ParseError = function ParseError(code) {
|
12 | _classCallCheck(this, ParseError);
|
13 |
|
14 | this.name = this.constructor.name;
|
15 | this.message = code;
|
16 | this.stack = new Error(code).stack;
|
17 | };
|
18 |
|
19 | exports["default"] = ParseError;
|
20 | ParseError.prototype = Object.create(Error.prototype);
|
21 | ParseError.prototype.constructor = ParseError;
|
22 |
|
\ | No newline at end of file |