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
|
||
|---|---|---|
| .. | ||
| anchor_spec.ts | ||
| BUILD.bazel | ||
| component_view_spec.ts | ||
| element_spec.ts | ||
| embedded_view_spec.ts | ||
| helper.ts | ||
| ng_content_spec.ts | ||
| ng_module_spec.ts | ||
| provider_spec.ts | ||
| pure_expression_spec.ts | ||
| query_spec.ts | ||
| services_spec.ts | ||
| text_spec.ts | ||
| view_def_spec.ts | ||