mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: Add NG0750 to errors list (#59265)
This PR adds error NG0750 to Error Encyclopedia. Update adev/src/content/reference/errors/NG0750.md Co-authored-by: Andrew Kushnir <43554145+AndrewKushnir@users.noreply.github.com> Update adev/src/content/reference/errors/NG0750.md Co-authored-by: Andrew Kushnir <43554145+AndrewKushnir@users.noreply.github.com> PR Close #59265
This commit is contained in:
parent
a4783c63f3
commit
7e40ef2a82
5 changed files with 15 additions and 3 deletions
|
|
@ -1285,6 +1285,11 @@ const REFERENCE_SUB_NAVIGATION_DATA: NavigationItem[] = [
|
|||
path: 'errors/NG05000',
|
||||
contentPath: 'reference/errors/NG05000',
|
||||
},
|
||||
{
|
||||
label: 'NG0750: @defer dependencies failed to load',
|
||||
path: 'errors/NG0750',
|
||||
contentPath: 'reference/errors/NG0750',
|
||||
},
|
||||
{
|
||||
label: 'NG6100: NgModule.id Set to module.id anti-pattern',
|
||||
path: 'errors/NG6100',
|
||||
|
|
|
|||
6
adev/src/content/reference/errors/NG0750.md
Normal file
6
adev/src/content/reference/errors/NG0750.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# @defer dependencies failed to load
|
||||
|
||||
This error occurs when loading dependencies for a `@defer` block fails (typically due to poor network conditions) and no `@error` block has been configured to handle the failure state. Having no `@error` block in this scenario may create a poor user experience.
|
||||
|
||||
## Debugging the error
|
||||
Verify that you added `@error` blocks to your `@defer` blocks to handle failure states.
|
||||
|
|
@ -21,6 +21,7 @@
|
|||
| `NG0505` | [No hydration info in server response](errors/NG0505) |
|
||||
| `NG0506` | [NgZone remains unstable](errors/NG0506) |
|
||||
| `NG0507` | [HTML content was altered after SSR](errors/NG0507) |
|
||||
| `NG0750` | [@defer dependencies failed to load](errors/NG0750) |
|
||||
| `NG0910` | [Unsafe bindings on an iframe element](errors/NG0910) |
|
||||
| `NG0912` | [Component ID generation collision](errors/NG0912) |
|
||||
| `NG0955` | [Track expression resulted in duplicated keys for a given collection](errors/NG0955) |
|
||||
|
|
@ -29,7 +30,7 @@
|
|||
| `NG01203` | [Missing value accessor](errors/NG01203) |
|
||||
| `NG02200` | [Missing Iterable Differ](errors/NG02200) |
|
||||
| `NG02800` | [JSONP support in HttpClient configuration](errors/NG02800) |
|
||||
| `NG05000` | [Hydration with unsupported Zone.js instance.](errors/NG05000) |
|
||||
| `NG05000` | [Hydration with unsupported Zone.js instance.](errors/NG05000) |
|
||||
| `NG05104` | [Root element was not found.](errors/NG05104) |
|
||||
|
||||
## Compiler errors
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ export const enum RuntimeErrorCode {
|
|||
// (undocumented)
|
||||
CYCLIC_DI_DEPENDENCY = -200,
|
||||
// (undocumented)
|
||||
DEFER_LOADING_FAILED = 750,
|
||||
DEFER_LOADING_FAILED = -750,
|
||||
// (undocumented)
|
||||
DUPLICATE_DIRECTIVE = 309,
|
||||
// (undocumented)
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ export const enum RuntimeErrorCode {
|
|||
MISSING_LOCALE_DATA = 701,
|
||||
|
||||
// Defer errors (750-799 range)
|
||||
DEFER_LOADING_FAILED = 750,
|
||||
DEFER_LOADING_FAILED = -750,
|
||||
|
||||
// standalone errors
|
||||
IMPORT_PROVIDERS_FROM_STANDALONE = 800,
|
||||
|
|
|
|||
Loading…
Reference in a new issue