File tree Expand file tree Collapse file tree 5 files changed +15
-3
lines changed
Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -1285,6 +1285,11 @@ const REFERENCE_SUB_NAVIGATION_DATA: NavigationItem[] = [
12851285 path : 'errors/NG05000' ,
12861286 contentPath : 'reference/errors/NG05000' ,
12871287 } ,
1288+ {
1289+ label : 'NG0750: @defer dependencies failed to load' ,
1290+ path : 'errors/NG0750' ,
1291+ contentPath : 'reference/errors/NG0750' ,
1292+ } ,
12881293 {
12891294 label : 'NG6100: NgModule.id Set to module.id anti-pattern' ,
12901295 path : 'errors/NG6100' ,
Original file line number Diff line number Diff line change 1+ # @defer dependencies failed to load
2+
3+ 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.
4+
5+ ## Debugging the error
6+ Verify that you added ` @error ` blocks to your ` @defer ` blocks to handle failure states.
Original file line number Diff line number Diff line change 2121| ` NG0505 ` | [ No hydration info in server response] ( errors/NG0505 ) |
2222| ` NG0506 ` | [ NgZone remains unstable] ( errors/NG0506 ) |
2323| ` NG0507 ` | [ HTML content was altered after SSR] ( errors/NG0507 ) |
24+ | ` NG0750 ` | [ @defer dependencies failed to load] ( errors/NG0750 ) |
2425| ` NG0910 ` | [ Unsafe bindings on an iframe element] ( errors/NG0910 ) |
2526| ` NG0912 ` | [ Component ID generation collision] ( errors/NG0912 ) |
2627| ` NG0955 ` | [ Track expression resulted in duplicated keys for a given collection] ( errors/NG0955 ) |
2930| ` NG01203 ` | [ Missing value accessor] ( errors/NG01203 ) |
3031| ` NG02200 ` | [ Missing Iterable Differ] ( errors/NG02200 ) |
3132| ` NG02800 ` | [ JSONP support in HttpClient configuration] ( errors/NG02800 ) |
32- | ` NG05000 ` | [ Hydration with unsupported Zone.js instance.] ( errors/NG05000 ) |
33+ | ` NG05000 ` | [ Hydration with unsupported Zone.js instance.] ( errors/NG05000 ) |
3334| ` NG05104 ` | [ Root element was not found.] ( errors/NG05104 ) |
3435
3536## Compiler errors
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const enum RuntimeErrorCode {
2929 // (undocumented)
3030 CYCLIC_DI_DEPENDENCY = - 200 ,
3131 // (undocumented)
32- DEFER_LOADING_FAILED = 750 ,
32+ DEFER_LOADING_FAILED = - 750 ,
3333 // (undocumented)
3434 DUPLICATE_DIRECTIVE = 309 ,
3535 // (undocumented)
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export const enum RuntimeErrorCode {
9797 MISSING_LOCALE_DATA = 701 ,
9898
9999 // Defer errors (750-799 range)
100- DEFER_LOADING_FAILED = 750 ,
100+ DEFER_LOADING_FAILED = - 750 ,
101101
102102 // standalone errors
103103 IMPORT_PROVIDERS_FROM_STANDALONE = 800 ,
You can’t perform that action at this time.
0 commit comments