1 | 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); }
|
---|
2 |
|
---|
3 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
---|
4 |
|
---|
5 | 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; }
|
---|
6 |
|
---|
7 | 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; }
|
---|
8 |
|
---|
9 | export var RuntimeError =
|
---|
10 | /*#__PURE__*/
|
---|
11 | function (_Error) {
|
---|
12 | _inherits(RuntimeError, _Error);
|
---|
13 |
|
---|
14 | function RuntimeError() {
|
---|
15 | _classCallCheck(this, RuntimeError);
|
---|
16 |
|
---|
17 | return _possibleConstructorReturn(this, (RuntimeError.__proto__ || Object.getPrototypeOf(RuntimeError)).apply(this, arguments));
|
---|
18 | }
|
---|
19 |
|
---|
20 | return RuntimeError;
|
---|
21 | }(Error);
|
---|
22 | export var CompileError =
|
---|
23 | /*#__PURE__*/
|
---|
24 | function (_Error2) {
|
---|
25 | _inherits(CompileError, _Error2);
|
---|
26 |
|
---|
27 | function CompileError() {
|
---|
28 | _classCallCheck(this, CompileError);
|
---|
29 |
|
---|
30 | return _possibleConstructorReturn(this, (CompileError.__proto__ || Object.getPrototypeOf(CompileError)).apply(this, arguments));
|
---|
31 | }
|
---|
32 |
|
---|
33 | return CompileError;
|
---|
34 | }(Error);
|
---|
35 | export var LinkError =
|
---|
36 | /*#__PURE__*/
|
---|
37 | function (_Error3) {
|
---|
38 | _inherits(LinkError, _Error3);
|
---|
39 |
|
---|
40 | function LinkError() {
|
---|
41 | _classCallCheck(this, LinkError);
|
---|
42 |
|
---|
43 | return _possibleConstructorReturn(this, (LinkError.__proto__ || Object.getPrototypeOf(LinkError)).apply(this, arguments));
|
---|
44 | }
|
---|
45 |
|
---|
46 | return LinkError;
|
---|
47 | }(Error); |
---|