mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
28 lines
847 B
TypeScript
28 lines
847 B
TypeScript
/**
|
|
* @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.io/license
|
|
*/
|
|
/**
|
|
* The list of error codes used in runtime code of the `platform-browser` package.
|
|
* Reserved error code range: 5000-5500.
|
|
*/
|
|
export const enum RuntimeErrorCode {
|
|
// Hydration Errors
|
|
UNSUPPORTED_ZONEJS_INSTANCE = -5000,
|
|
|
|
// misc errors (5100-5200 range)
|
|
BROWER_MODULE_ALREADY_LOADED = 5100,
|
|
NO_PLUGIN_FOR_EVENT = 5101,
|
|
UNSUPPORTED_EVENT_TARGET = 5102,
|
|
TESTABILITY_NOT_FOUND = 5103,
|
|
ROOT_NODE_NOT_FOUND = -5104,
|
|
UNEXPECTED_SYNTHETIC_PROPERTY = 5105,
|
|
|
|
// Sanitization-related errors (5200-5300 range)
|
|
SANITIZATION_UNSAFE_SCRIPT = 5200,
|
|
SANITIZATION_UNSAFE_RESOURCE_URL = 5201,
|
|
SANITIZATION_UNEXPECTED_CTX = 5202,
|
|
}
|