UNPKG

react-redux-isomorphic

Version:

Set of utilities for creating isomorphic applications using react-redux

27 lines (19 loc) 929 B
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized"; import _inherits from "@babel/runtime/helpers/inherits"; import _createSuper from "@babel/runtime/helpers/createSuper"; import _defineProperty from "@babel/runtime/helpers/defineProperty"; import ExtendableError from 'es6-error'; // eslint-disable-next-line import/prefer-default-export export var LoadContextError = /*#__PURE__*/function (_ExtendableError) { _inherits(LoadContextError, _ExtendableError); var _super = _createSuper(LoadContextError); function LoadContextError(error) { var _this; _classCallCheck(this, LoadContextError); _this = _super.call(this, 'Context load failed'); _defineProperty(_assertThisInitialized(_this), "error", void 0); _this.error = error; return _this; } return LoadContextError; }(ExtendableError);