1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.LinkError = exports.CompileError = exports.RuntimeError = void 0;
|
---|
7 |
|
---|
8 | function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
---|
9 |
|
---|
10 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
---|
11 |
|
---|
12 | function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
---|
13 |
|
---|
14 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
---|
15 |
|
---|
16 | var RuntimeError =
|
---|
17 | /*#__PURE__*/
|
---|
18 | function (_Error) {
|
---|
19 | _inherits(RuntimeError, _Error);
|
---|
20 |
|
---|
21 | function RuntimeError() {
|
---|
22 | _classCallCheck(this, RuntimeError);
|
---|
23 |
|
---|
24 | return _possibleConstructorReturn(this, (RuntimeError.__proto__ || Object.getPrototypeOf(RuntimeError)).apply(this, arguments));
|
---|
25 | }
|
---|
26 |
|
---|
27 | return RuntimeError;
|
---|
28 | }(Error);
|
---|
29 |
|
---|
30 | exports.RuntimeError = RuntimeError;
|
---|
31 |
|
---|
32 | var CompileError =
|
---|
33 | /*#__PURE__*/
|
---|
34 | function (_Error2) {
|
---|
35 | _inherits(CompileError, _Error2);
|
---|
36 |
|
---|
37 | function CompileError() {
|
---|
38 | _classCallCheck(this, CompileError);
|
---|
39 |
|
---|
40 | return _possibleConstructorReturn(this, (CompileError.__proto__ || Object.getPrototypeOf(CompileError)).apply(this, arguments));
|
---|
41 | }
|
---|
42 |
|
---|
43 | return CompileError;
|
---|
44 | }(Error);
|
---|
45 |
|
---|
46 | exports.CompileError = CompileError;
|
---|
47 |
|
---|
48 | var LinkError =
|
---|
49 | /*#__PURE__*/
|
---|
50 | function (_Error3) {
|
---|
51 | _inherits(LinkError, _Error3);
|
---|
52 |
|
---|
53 | function LinkError() {
|
---|
54 | _classCallCheck(this, LinkError);
|
---|
55 |
|
---|
56 | return _possibleConstructorReturn(this, (LinkError.__proto__ || Object.getPrototypeOf(LinkError)).apply(this, arguments));
|
---|
57 | }
|
---|
58 |
|
---|
59 | return LinkError;
|
---|
60 | }(Error);
|
---|
61 |
|
---|
62 | exports.LinkError = LinkError; |
---|