mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This change removes the reporting of errors from the `ChangeDetectorRef.detectChanges` API. The reporting results in the error being "handled" in two ways, both by reporting to error handler and rethrowing the error. This rethrown error generally ends up being caught further up and again reported to the error handler. The error handler is meant to be for uncaught errors, and since Angular is not at the top of the stack of the call of `CDR.detectChanges`, it does not know what is being done with the rethrown error. Note that for zone-based applications, this will likely have no effect other than removing duplicate reporting of the error. If the rethrown error is not already being caught, it will reach the NgZone's error trap and still be reported to the application `ErrorHandler`. PR Close #60056 |
||
|---|---|---|
| .. | ||
| differs | ||
| scheduling | ||
| change_detection.ts | ||
| change_detector_ref.ts | ||
| constants.ts | ||
| pipe_transform.ts | ||