/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/service-worker/src/errors.ts
19 строк
619 B
arturovt
refactor(service-worker): drop error messages in production (#59702)
30 апр 2025, 22:41
30 апр 2025, 22:41
9b96fcc
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ /** * The list of error codes used in runtime code of the `service-worker` package. * Reserved error code range: 5600-5699. */ export const enum RuntimeErrorCode { UNKNOWN_REGISTRATION_STRATEGY = 5600, SERVICE_WORKER_DISABLED_OR_NOT_SUPPORTED_BY_THIS_BROWSER = 5601, NOT_SUBSCRIBED_TO_PUSH_NOTIFICATIONS = 5602, PUSH_SUBSCRIPTION_UNSUBSCRIBE_FAILED = 5603, SERVICE_WORKER_REGISTRATION_FAILED = 5604, }