UNPKG

@resourge/react-fetch

Version:

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

21 lines (19 loc) 729 B
/** * react-fetch v1.41.3 * * Copyright (c) resourge. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ class ScrollRestorationIdIsUndefined extends Error { constructor() { super('\'scrollRestorationId\' cannot be undefined has it is used and an unique id.' + 'By default in browser environment it will use current pathname as id.' + 'But in other environment\'s is necessary to set it'); this.name = 'ScrollRestorationIdIsUndefined'; Error.captureStackTrace(this, ScrollRestorationIdIsUndefined); } } export { ScrollRestorationIdIsUndefined }; //# sourceMappingURL=ScrollRestorationIdIsUndefined.js.map