mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2aba485118
Prior to this commit, the logic to extract query information from class fields used an instance of regular Error class to throw an error. As a result, some useful information (like reference to a specific field) was missing. Replacing Error class with FatalDiagnosticError one makes the error more verbose that should simplify debugging. PR Close #31123