/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-devtools-shared/src/errors/ElementPollingCancellationError.js
21 строка
564 B
Ruslan Lesiutin
refactor[devtools/extension]: more stable element updates polling to avoid timed out errors (#27357)
12 сен 2023, 17:05
Не верифицирован
12 сен 2023, 17:05
2eed132
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ export default class ElementPollingCancellationError extends Error { constructor() { super(); // Maintains proper stack trace for where our error was thrown (only available on V8) if (Error.captureStackTrace) { Error.captureStackTrace(this, ElementPollingCancellationError); } this.name = 'ElementPollingCancellationError'; } }