Angular adds error codes, debugging guides
pubsub.slavino.sk / infoworldcom · Friday, 29 January, 2021 - 21:54 edit
Error codes are featured in the Angular 11.1.0 release, which was published January 20. The most common Angular error messages have been fitted with standardized error codes, details, and formatting.
Angular error messages start with NG, to help differentiate Angular-specific errors from TypeScript errors and browser messaging. The next number in the message indicates type, with runtime errors beginning with 0 and compiler issues maintaining their existing number space of 1 through 9. The goal of these changes is to help developers recognize framework errors and make them more searchable.