You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
2.2 KiB

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