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
|
||
|---|---|---|
| .. | ||
| browser | ||
| dom | ||
| security | ||
| static_assets | ||
| browser_util_spec.ts | ||
| BUILD.bazel | ||
| testing_public_spec.ts | ||