1 | 'use strict';
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 |
|
7 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
8 |
|
9 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
10 |
|
11 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } 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; }
|
12 |
|
13 | var UndefinedFactError = exports.UndefinedFactError = function (_Error) {
|
14 | _inherits(UndefinedFactError, _Error);
|
15 |
|
16 | function UndefinedFactError() {
|
17 | var _ref;
|
18 |
|
19 | _classCallCheck(this, UndefinedFactError);
|
20 |
|
21 | for (var _len = arguments.length, props = Array(_len), _key = 0; _key < _len; _key++) {
|
22 | props[_key] = arguments[_key];
|
23 | }
|
24 |
|
25 | var _this = _possibleConstructorReturn(this, (_ref = UndefinedFactError.__proto__ || Object.getPrototypeOf(UndefinedFactError)).call.apply(_ref, [this].concat(props)));
|
26 |
|
27 | _this.code = 'UNDEFINED_FACT';
|
28 | return _this;
|
29 | }
|
30 |
|
31 | return UndefinedFactError;
|
32 | }(Error); |
\ | No newline at end of file |