mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Make Long error messages tree-shakable in the production build with error codes. fixes #40096 PR Close #44663
18 lines
470 B
TypeScript
18 lines
470 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
|
|
}
|