source: trip-planner-front/node_modules/@webassemblyjs/helper-api-error/lib/index.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.4 KB
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.LinkError = exports.CompileError = exports.RuntimeError = void 0;
7
8function _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
10function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
12function _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
14function _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
16var RuntimeError =
17/*#__PURE__*/
18function (_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
30exports.RuntimeError = RuntimeError;
31
32var CompileError =
33/*#__PURE__*/
34function (_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
46exports.CompileError = CompileError;
47
48var LinkError =
49/*#__PURE__*/
50function (_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
62exports.LinkError = LinkError;
Note: See TracBrowser for help on using the repository browser.