mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Improve the stacktrace for `R3Injector` errors by adding the source component (or module) that tried to inject the missing provider, as well as the name of the injector which triggered the error (`R3Injector`).
e.g.:
```
R3InjectorError(SomeModule)[car -> SportsCar]:
NullInjectorError: No provider for SportsCar!
```
FW-807 #resolve
FW-875 #resolve
PR Close #28207
|
||
|---|---|---|
| .. | ||
| static_assets | ||
| tools | ||
| bootstrap_spec.ts | ||
| browser_adapter_spec.ts | ||
| meta_spec.ts | ||
| rectangle_mock.ts | ||
| title_spec.ts | ||
| transfer_state_spec.ts | ||