Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(core): Document invalid multi token (#48267)
Add error page for invalid multi token runtime error PR Close #48267
- Loading branch information
1 parent
0f61672
commit d181b93
Showing
6 changed files
with
32 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@name Invalid multi provider | ||
@category runtime | ||
@shortDescription Expected provider to be `multi: true` but did not get an Array | ||
|
||
@description | ||
|
||
The Angular runtime will throw this error when it injects a token intended to be used with `multi: true` but | ||
a non-Array was found instead. For example, `ENVIRONMENT_INITIALIZER` should be provided | ||
like `{provide: ENVIRONMENT_INITIALIZER, multi: true, useValue: () => {...}}`. | ||
|
||
<!-- links --> | ||
|
||
<!-- external links --> | ||
|
||
<!-- end links --> | ||
|
||
@reviewed 2022-11-28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters