mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8bde2dbc71
This adds the fancy link to the error code documentation automatically PR Close #46555
21 lines
524 B
TypeScript
21 lines
524 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 `common` package.
|
|
* Reserved error code range: 2000-2999.
|
|
*/
|
|
export const enum RuntimeErrorCode {
|
|
// NgSwitch errors
|
|
PARENT_NG_SWITCH_NOT_FOUND = 2000,
|
|
// Pipe errors
|
|
INVALID_PIPE_ARGUMENT = 2100,
|
|
// NgForOf errors
|
|
NG_FOR_MISSING_DIFFER = -2200,
|
|
}
|