mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This updates the iterable differ error to use more up-to-date error codes. PR Close #46526
20 lines
523 B
TypeScript
20 lines
523 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,
|
|
}
|