@rxap/ngx-error 19.2.0 → 19.3.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/compodoc/changelog.html +41 -0
  3. package/compodoc/dependencies.html +5 -5
  4. package/compodoc/injectables/RxapErrorHandler.html +30 -6
  5. package/compodoc/interfaces/ErrorHandlerOptions.html +24 -0
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +1 -1
  8. package/docs/documentation.json +419 -419
  9. package/docs/html/classes/AngularErrorComponent.html +2 -2
  10. package/docs/html/classes/AngularErrorService.html +2 -2
  11. package/docs/html/classes/AnyHttpErrorComponent.html +2 -2
  12. package/docs/html/classes/AnyHttpErrorService.html +2 -2
  13. package/docs/html/classes/CodeHttpErrorComponent.html +2 -2
  14. package/docs/html/classes/CodeHttpErrorService.html +2 -2
  15. package/docs/html/classes/ErrorCaptureDialogService.html +2 -2
  16. package/docs/html/classes/ErrorCaptureService.html +2 -2
  17. package/docs/html/classes/ErrorDialogComponent.html +3 -3
  18. package/docs/html/classes/MessageHttpErrorComponent.html +2 -2
  19. package/docs/html/classes/MessageHttpErrorService.html +2 -2
  20. package/docs/html/classes/OpenApiHttpResponseErrorComponent.html +2 -2
  21. package/docs/html/classes/OpenApiHttpResponseErrorService.html +2 -2
  22. package/docs/html/classes/RxapErrorHandler.html +3 -3
  23. package/docs/html/functions/DefaultErrorCodeExtractor.html +1 -1
  24. package/docs/html/functions/DefaultErrorFilter.html +1 -1
  25. package/docs/html/functions/ExtractContextFromError.html +1 -1
  26. package/docs/html/functions/ExtractError.html +1 -1
  27. package/docs/html/functions/ExtractExtraFromError.html +1 -1
  28. package/docs/html/functions/ExtractTagsFromError.html +1 -1
  29. package/docs/html/functions/HttpErrorInterceptor.html +1 -1
  30. package/docs/html/functions/PrintError.html +1 -1
  31. package/docs/html/functions/ProvideErrorHandler.html +2 -2
  32. package/docs/html/functions/SimplifyHttpErrorResponse.html +1 -1
  33. package/docs/html/functions/provideAutoErrorInterception.html +1 -1
  34. package/docs/html/functions/withErrorCaptureDialogDisabledIf.html +1 -1
  35. package/docs/html/functions/withErrorCaptureDialogService.html +1 -1
  36. package/docs/html/hierarchy.html +1 -1
  37. package/docs/html/index.html +2 -2
  38. package/docs/html/interfaces/AngularErrorDialogData.html +2 -2
  39. package/docs/html/interfaces/AnyHttpErrorDialogData.html +8 -8
  40. package/docs/html/interfaces/CodeHttpErrorDialogData.html +8 -8
  41. package/docs/html/interfaces/ErrorHandlerOptions.html +2 -2
  42. package/docs/html/interfaces/ErrorInterceptorOptions.html +2 -2
  43. package/docs/html/interfaces/IErrorCaptureDialogService.html +2 -2
  44. package/docs/html/interfaces/IErrorDialogComponent.html +2 -2
  45. package/docs/html/interfaces/MessageHttpErrorDialogData.html +8 -8
  46. package/docs/html/interfaces/OpenApiHttpResponseErrorDialogData.html +8 -8
  47. package/docs/html/interfaces/SimplifiedHttpErrorResponse.html +2 -2
  48. package/docs/html/modules.html +1 -1
  49. package/docs/html/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.html +1 -1
  50. package/docs/html/variables/RXAP_ERROR_DIALOG_COMPONENT.html +1 -1
  51. package/docs/html/variables/RXAP_ERROR_DIALOG_DATA.html +1 -1
  52. package/docs/html/variables/RXAP_ERROR_DIALOG_DISABLED.html +1 -1
  53. package/docs/html/variables/RXAP_ERROR_DIALOG_ERROR.html +1 -1
  54. package/docs/html/variables/RXAP_ERROR_HANDLER_OPTIONS.html +1 -1
  55. package/docs/html/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.html +1 -1
  56. package/docs/markdown/README.md +1 -1
  57. package/docs/markdown/classes/AngularErrorComponent.md +6 -6
  58. package/docs/markdown/classes/AngularErrorService.md +5 -5
  59. package/docs/markdown/classes/AnyHttpErrorComponent.md +4 -4
  60. package/docs/markdown/classes/AnyHttpErrorService.md +5 -5
  61. package/docs/markdown/classes/CodeHttpErrorComponent.md +5 -5
  62. package/docs/markdown/classes/CodeHttpErrorService.md +5 -5
  63. package/docs/markdown/classes/ErrorCaptureDialogService.md +6 -6
  64. package/docs/markdown/classes/ErrorCaptureService.md +5 -5
  65. package/docs/markdown/classes/ErrorDialogComponent.md +10 -10
  66. package/docs/markdown/classes/MessageHttpErrorComponent.md +5 -5
  67. package/docs/markdown/classes/MessageHttpErrorService.md +5 -5
  68. package/docs/markdown/classes/OpenApiHttpResponseErrorComponent.md +4 -4
  69. package/docs/markdown/classes/OpenApiHttpResponseErrorService.md +5 -5
  70. package/docs/markdown/classes/RxapErrorHandler.md +7 -7
  71. package/docs/markdown/functions/DefaultErrorCodeExtractor.md +2 -2
  72. package/docs/markdown/functions/DefaultErrorFilter.md +2 -2
  73. package/docs/markdown/functions/ExtractContextFromError.md +2 -2
  74. package/docs/markdown/functions/ExtractError.md +2 -2
  75. package/docs/markdown/functions/ExtractExtraFromError.md +2 -2
  76. package/docs/markdown/functions/ExtractTagsFromError.md +2 -2
  77. package/docs/markdown/functions/HttpErrorInterceptor.md +2 -2
  78. package/docs/markdown/functions/PrintError.md +2 -2
  79. package/docs/markdown/functions/ProvideErrorHandler.md +2 -2
  80. package/docs/markdown/functions/SimplifyHttpErrorResponse.md +2 -2
  81. package/docs/markdown/functions/provideAutoErrorInterception.md +2 -2
  82. package/docs/markdown/functions/withErrorCaptureDialogDisabledIf.md +2 -2
  83. package/docs/markdown/functions/withErrorCaptureDialogService.md +2 -2
  84. package/docs/markdown/globals.md +2 -2
  85. package/docs/markdown/interfaces/AngularErrorDialogData.md +8 -8
  86. package/docs/markdown/interfaces/AnyHttpErrorDialogData.md +15 -15
  87. package/docs/markdown/interfaces/CodeHttpErrorDialogData.md +16 -16
  88. package/docs/markdown/interfaces/ErrorHandlerOptions.md +5 -5
  89. package/docs/markdown/interfaces/ErrorInterceptorOptions.md +4 -4
  90. package/docs/markdown/interfaces/IErrorCaptureDialogService.md +3 -3
  91. package/docs/markdown/interfaces/IErrorDialogComponent.md +3 -3
  92. package/docs/markdown/interfaces/MessageHttpErrorDialogData.md +15 -15
  93. package/docs/markdown/interfaces/OpenApiHttpResponseErrorDialogData.md +18 -18
  94. package/docs/markdown/interfaces/SimplifiedHttpErrorResponse.md +12 -12
  95. package/docs/markdown/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +2 -2
  96. package/docs/markdown/variables/RXAP_ERROR_DIALOG_COMPONENT.md +2 -2
  97. package/docs/markdown/variables/RXAP_ERROR_DIALOG_DATA.md +2 -2
  98. package/docs/markdown/variables/RXAP_ERROR_DIALOG_DISABLED.md +2 -2
  99. package/docs/markdown/variables/RXAP_ERROR_DIALOG_ERROR.md +2 -2
  100. package/docs/markdown/variables/RXAP_ERROR_HANDLER_OPTIONS.md +2 -2
  101. package/docs/markdown/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.md +2 -2
  102. package/docs/wiki/Class.AngularErrorComponent.md +5 -5
  103. package/docs/wiki/Class.AngularErrorService.md +4 -4
  104. package/docs/wiki/Class.AnyHttpErrorComponent.md +3 -3
  105. package/docs/wiki/Class.AnyHttpErrorService.md +4 -4
  106. package/docs/wiki/Class.CodeHttpErrorComponent.md +4 -4
  107. package/docs/wiki/Class.CodeHttpErrorService.md +4 -4
  108. package/docs/wiki/Class.ErrorCaptureDialogService.md +5 -5
  109. package/docs/wiki/Class.ErrorCaptureService.md +4 -4
  110. package/docs/wiki/Class.ErrorDialogComponent.md +9 -9
  111. package/docs/wiki/Class.MessageHttpErrorComponent.md +4 -4
  112. package/docs/wiki/Class.MessageHttpErrorService.md +4 -4
  113. package/docs/wiki/Class.OpenApiHttpResponseErrorComponent.md +3 -3
  114. package/docs/wiki/Class.OpenApiHttpResponseErrorService.md +4 -4
  115. package/docs/wiki/Class.RxapErrorHandler.md +6 -6
  116. package/docs/wiki/Function.DefaultErrorCodeExtractor.md +1 -1
  117. package/docs/wiki/Function.DefaultErrorFilter.md +1 -1
  118. package/docs/wiki/Function.ExtractContextFromError.md +1 -1
  119. package/docs/wiki/Function.ExtractError.md +1 -1
  120. package/docs/wiki/Function.ExtractExtraFromError.md +1 -1
  121. package/docs/wiki/Function.ExtractTagsFromError.md +1 -1
  122. package/docs/wiki/Function.HttpErrorInterceptor.md +1 -1
  123. package/docs/wiki/Function.PrintError.md +1 -1
  124. package/docs/wiki/Function.ProvideErrorHandler.md +1 -1
  125. package/docs/wiki/Function.SimplifyHttpErrorResponse.md +1 -1
  126. package/docs/wiki/Function.provideAutoErrorInterception.md +1 -1
  127. package/docs/wiki/Function.withErrorCaptureDialogDisabledIf.md +1 -1
  128. package/docs/wiki/Function.withErrorCaptureDialogService.md +1 -1
  129. package/docs/wiki/Interface.AngularErrorDialogData.md +7 -7
  130. package/docs/wiki/Interface.AnyHttpErrorDialogData.md +14 -14
  131. package/docs/wiki/Interface.CodeHttpErrorDialogData.md +15 -15
  132. package/docs/wiki/Interface.ErrorHandlerOptions.md +4 -4
  133. package/docs/wiki/Interface.ErrorInterceptorOptions.md +3 -3
  134. package/docs/wiki/Interface.IErrorCaptureDialogService.md +2 -2
  135. package/docs/wiki/Interface.IErrorDialogComponent.md +2 -2
  136. package/docs/wiki/Interface.MessageHttpErrorDialogData.md +14 -14
  137. package/docs/wiki/Interface.OpenApiHttpResponseErrorDialogData.md +17 -17
  138. package/docs/wiki/Interface.SimplifiedHttpErrorResponse.md +11 -11
  139. package/docs/wiki/Variable.RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +1 -1
  140. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_COMPONENT.md +1 -1
  141. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DATA.md +1 -1
  142. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DISABLED.md +1 -1
  143. package/docs/wiki/Variable.RXAP_ERROR_DIALOG_ERROR.md +1 -1
  144. package/docs/wiki/Variable.RXAP_ERROR_HANDLER_OPTIONS.md +1 -1
  145. package/docs/wiki/Variable.RXAP_ERROR_INTERCEPTOR_OPTIONS.md +1 -1
  146. package/docs/wiki/globals.md +1 -1
  147. package/fesm2022/rxap-ngx-error.mjs +24 -0
  148. package/fesm2022/rxap-ngx-error.mjs.map +1 -1
  149. package/lib/error-handler.d.ts +1 -0
  150. package/package.json +25 -26
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: OpenApiHttpResponseErrorDialogData
4
4
 
5
- Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-data.ts:4](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.ts#L4)
5
+ Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-data.ts:4](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.ts#L4)
6
6
 
7
7
  ## Extends
8
8
 
@@ -14,7 +14,7 @@ Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-da
14
14
 
15
15
  > `optional` **body**: `any`
16
16
 
17
- Defined in: [any-http-error/any-http-error-dialog-data.ts:8](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L8)
17
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:8](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L8)
18
18
 
19
19
  #### Inherited from
20
20
 
@@ -26,7 +26,7 @@ Defined in: [any-http-error/any-http-error-dialog-data.ts:8](https://gitlab.com/
26
26
 
27
27
  > **error**: `any`
28
28
 
29
- Defined in: [any-http-error/any-http-error-dialog-data.ts:10](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L10)
29
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:10](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L10)
30
30
 
31
31
  #### Inherited from
32
32
 
@@ -38,7 +38,7 @@ Defined in: [any-http-error/any-http-error-dialog-data.ts:10](https://gitlab.com
38
38
 
39
39
  > **headers**: `Record`\<`string`, `string`[]\>
40
40
 
41
- Defined in: [any-http-error/any-http-error-dialog-data.ts:17](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L17)
41
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:17](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L17)
42
42
 
43
43
  All response headers.
44
44
 
@@ -52,7 +52,7 @@ All response headers.
52
52
 
53
53
  > **message**: `string`
54
54
 
55
- Defined in: [any-http-error/any-http-error-dialog-data.ts:11](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L11)
55
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:11](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L11)
56
56
 
57
57
  #### Inherited from
58
58
 
@@ -64,7 +64,7 @@ Defined in: [any-http-error/any-http-error-dialog-data.ts:11](https://gitlab.com
64
64
 
65
65
  > **metadata**: `OpenApiMetaData`
66
66
 
67
- Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-data.ts:5](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.ts#L5)
67
+ Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-data.ts:5](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.ts#L5)
68
68
 
69
69
  ***
70
70
 
@@ -72,7 +72,7 @@ Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-da
72
72
 
73
73
  > **method**: `string`
74
74
 
75
- Defined in: [any-http-error/any-http-error-dialog-data.ts:7](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L7)
75
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:7](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L7)
76
76
 
77
77
  #### Inherited from
78
78
 
@@ -84,7 +84,7 @@ Defined in: [any-http-error/any-http-error-dialog-data.ts:7](https://gitlab.com/
84
84
 
85
85
  > **name**: `string`
86
86
 
87
- Defined in: [any-http-error/any-http-error-dialog-data.ts:12](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L12)
87
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:12](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L12)
88
88
 
89
89
  #### Inherited from
90
90
 
@@ -96,7 +96,7 @@ Defined in: [any-http-error/any-http-error-dialog-data.ts:12](https://gitlab.com
96
96
 
97
97
  > **ok**: `boolean`
98
98
 
99
- Defined in: [any-http-error/any-http-error-dialog-data.ts:35](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L35)
99
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:35](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L35)
100
100
 
101
101
  Whether the status code falls in the 2xx range.
102
102
 
@@ -110,7 +110,7 @@ Whether the status code falls in the 2xx range.
110
110
 
111
111
  > **operationId**: `string`
112
112
 
113
- Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-data.ts:6](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.ts#L6)
113
+ Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-data.ts:6](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.ts#L6)
114
114
 
115
115
  ***
116
116
 
@@ -118,7 +118,7 @@ Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-da
118
118
 
119
119
  > `optional` **serverId**: `string`
120
120
 
121
- Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-data.ts:7](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.ts#L7)
121
+ Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-data.ts:7](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error-dialog-data.ts#L7)
122
122
 
123
123
  ***
124
124
 
@@ -126,7 +126,7 @@ Defined in: [open-api-http-response-error/open-api-http-response-error-dialog-da
126
126
 
127
127
  > `optional` **stack**: `string`
128
128
 
129
- Defined in: [any-http-error/any-http-error-dialog-data.ts:9](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L9)
129
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:9](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L9)
130
130
 
131
131
  #### Inherited from
132
132
 
@@ -138,7 +138,7 @@ Defined in: [any-http-error/any-http-error-dialog-data.ts:9](https://gitlab.com/
138
138
 
139
139
  > **status**: `number`
140
140
 
141
- Defined in: [any-http-error/any-http-error-dialog-data.ts:21](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L21)
141
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:21](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L21)
142
142
 
143
143
  Response status code.
144
144
 
@@ -152,7 +152,7 @@ Response status code.
152
152
 
153
153
  > **statusText**: `string`
154
154
 
155
- Defined in: [any-http-error/any-http-error-dialog-data.ts:27](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L27)
155
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:27](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L27)
156
156
 
157
157
  Textual description of response status code, defaults to OK.
158
158
 
@@ -168,7 +168,7 @@ Do not depend on this.
168
168
 
169
169
  > **timestamp**: `number`
170
170
 
171
- Defined in: [any-http-error/any-http-error-dialog-data.ts:13](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L13)
171
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:13](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L13)
172
172
 
173
173
  #### Inherited from
174
174
 
@@ -180,7 +180,7 @@ Defined in: [any-http-error/any-http-error-dialog-data.ts:13](https://gitlab.com
180
180
 
181
181
  > **type**: `ResponseHeader` \| `Response`
182
182
 
183
- Defined in: [any-http-error/any-http-error-dialog-data.ts:39](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L39)
183
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:39](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L39)
184
184
 
185
185
  Type of the response, narrowed to either the full response or the header.
186
186
 
@@ -194,7 +194,7 @@ Type of the response, narrowed to either the full response or the header.
194
194
 
195
195
  > **url**: `null` \| `string`
196
196
 
197
- Defined in: [any-http-error/any-http-error-dialog-data.ts:31](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L31)
197
+ Defined in: [any-http-error/any-http-error-dialog-data.ts:31](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L31)
198
198
 
199
199
  URL of the resource retrieved, or null if not available.
200
200
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: SimplifiedHttpErrorResponse
4
4
 
5
- Defined in: [utilities.ts:6](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L6)
5
+ Defined in: [utilities.ts:6](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L6)
6
6
 
7
7
  ## Extends
8
8
 
@@ -18,7 +18,7 @@ Defined in: [utilities.ts:6](https://gitlab.com/rxap/packages/-/blob/36b0e9732b2
18
18
 
19
19
  > **error**: `any`
20
20
 
21
- Defined in: [utilities.ts:13](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L13)
21
+ Defined in: [utilities.ts:13](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L13)
22
22
 
23
23
  ***
24
24
 
@@ -26,7 +26,7 @@ Defined in: [utilities.ts:13](https://gitlab.com/rxap/packages/-/blob/36b0e9732b
26
26
 
27
27
  > **errorMessage**: `string`
28
28
 
29
- Defined in: [utilities.ts:14](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L14)
29
+ Defined in: [utilities.ts:14](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L14)
30
30
 
31
31
  ***
32
32
 
@@ -34,7 +34,7 @@ Defined in: [utilities.ts:14](https://gitlab.com/rxap/packages/-/blob/36b0e9732b
34
34
 
35
35
  > **headers**: `Record`\<`string`, `string`[]\>
36
36
 
37
- Defined in: [utilities.ts:12](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L12)
37
+ Defined in: [utilities.ts:12](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L12)
38
38
 
39
39
  ***
40
40
 
@@ -42,7 +42,7 @@ Defined in: [utilities.ts:12](https://gitlab.com/rxap/packages/-/blob/36b0e9732b
42
42
 
43
43
  > **message**: `string`
44
44
 
45
- Defined in: [utilities.ts:8](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L8)
45
+ Defined in: [utilities.ts:8](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L8)
46
46
 
47
47
  ***
48
48
 
@@ -50,7 +50,7 @@ Defined in: [utilities.ts:8](https://gitlab.com/rxap/packages/-/blob/36b0e9732b2
50
50
 
51
51
  > **name**: `string`
52
52
 
53
- Defined in: [utilities.ts:9](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L9)
53
+ Defined in: [utilities.ts:9](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L9)
54
54
 
55
55
  ***
56
56
 
@@ -58,7 +58,7 @@ Defined in: [utilities.ts:9](https://gitlab.com/rxap/packages/-/blob/36b0e9732b2
58
58
 
59
59
  > **ok**: `boolean`
60
60
 
61
- Defined in: [utilities.ts:15](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L15)
61
+ Defined in: [utilities.ts:15](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L15)
62
62
 
63
63
  ***
64
64
 
@@ -66,7 +66,7 @@ Defined in: [utilities.ts:15](https://gitlab.com/rxap/packages/-/blob/36b0e9732b
66
66
 
67
67
  > **status**: `number`
68
68
 
69
- Defined in: [utilities.ts:10](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L10)
69
+ Defined in: [utilities.ts:10](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L10)
70
70
 
71
71
  ***
72
72
 
@@ -74,7 +74,7 @@ Defined in: [utilities.ts:10](https://gitlab.com/rxap/packages/-/blob/36b0e9732b
74
74
 
75
75
  > **statusText**: `string`
76
76
 
77
- Defined in: [utilities.ts:11](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L11)
77
+ Defined in: [utilities.ts:11](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L11)
78
78
 
79
79
  ***
80
80
 
@@ -82,7 +82,7 @@ Defined in: [utilities.ts:11](https://gitlab.com/rxap/packages/-/blob/36b0e9732b
82
82
 
83
83
  > **type**: `ResponseHeader` \| `Response`
84
84
 
85
- Defined in: [utilities.ts:16](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L16)
85
+ Defined in: [utilities.ts:16](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L16)
86
86
 
87
87
  ***
88
88
 
@@ -90,4 +90,4 @@ Defined in: [utilities.ts:16](https://gitlab.com/rxap/packages/-/blob/36b0e9732b
90
90
 
91
91
  > **url**: `null` \| `string`
92
92
 
93
- Defined in: [utilities.ts:7](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/utilities.ts#L7)
93
+ Defined in: [utilities.ts:7](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/utilities.ts#L7)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_ERROR\_CAPTURE\_DIALOG\_SERVICE**: `InjectionToken`\<[`IErrorCaptureDialogService`](../wiki/Interface.IErrorCaptureDialogService)\<`any`\>\>
6
6
 
7
- Defined in: [tokens.ts:20](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/tokens.ts#L20)
7
+ Defined in: [tokens.ts:20](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/tokens.ts#L20)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_ERROR\_DIALOG\_COMPONENT**: `InjectionToken`\<`ComponentType`\<[`IErrorDialogComponent`](../wiki/Interface.IErrorDialogComponent)\<`any`\>\>\>
6
6
 
7
- Defined in: [tokens.ts:14](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/tokens.ts#L14)
7
+ Defined in: [tokens.ts:14](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/tokens.ts#L14)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_ERROR\_DIALOG\_DATA**: `InjectionToken`\<`Signal`\<`any`[]\>\>
6
6
 
7
- Defined in: [tokens.ts:10](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/tokens.ts#L10)
7
+ Defined in: [tokens.ts:10](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/tokens.ts#L10)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_ERROR\_DIALOG\_DISABLED**: `InjectionToken`\<`boolean`\>
6
6
 
7
- Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/tokens.ts#L22)
7
+ Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/tokens.ts#L22)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_ERROR\_DIALOG\_ERROR**: `InjectionToken`\<`any`\>
6
6
 
7
- Defined in: [tokens.ts:12](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/tokens.ts#L12)
7
+ Defined in: [tokens.ts:12](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/tokens.ts#L12)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_ERROR\_HANDLER\_OPTIONS**: `InjectionToken`\<[`ErrorHandlerOptions`](../wiki/Interface.ErrorHandlerOptions)\>
6
6
 
7
- Defined in: [error-handler.ts:40](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/error-handler.ts#L40)
7
+ Defined in: [error-handler.ts:40](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/error-handler.ts#L40)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_ERROR\_INTERCEPTOR\_OPTIONS**: `InjectionToken`\<[`ErrorInterceptorOptions`](../wiki/Interface.ErrorInterceptorOptions)\>
6
6
 
7
- Defined in: [tokens.ts:17](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/tokens.ts#L17)
7
+ Defined in: [tokens.ts:17](https://gitlab.com/rxap/packages/-/blob/750077c245f4f5fa73f245da3193989d160362be/packages/angular/error/src/lib/tokens.ts#L17)
@@ -1,4 +1,4 @@
1
- # @rxap/ngx-error v19.2.0
1
+ # @rxap/ngx-error v19.3.0-dev.1
2
2
 
3
3
  ## Classes
4
4
 
@@ -433,11 +433,35 @@ class RxapErrorHandler {
433
433
  })();
434
434
  this.injector = inject(INJECTOR);
435
435
  }
436
+ isLoadChunkError(error) {
437
+ if (!error) {
438
+ return false;
439
+ }
440
+ let message = '';
441
+ if (typeof error === 'string') {
442
+ message = error;
443
+ }
444
+ else if (typeof error === 'object') {
445
+ if ('name' in error && typeof error.name === 'string' && /ChunkLoadError/i.test(error.name)) {
446
+ return true;
447
+ }
448
+ else if ('message' in error && typeof error.message === 'string') {
449
+ message = error.message;
450
+ }
451
+ }
452
+ return [
453
+ /Loading chunk [\d]+ failed/i,
454
+ ].some((regex) => regex.test(message));
455
+ }
436
456
  /**
437
457
  * Method called for every value captured through the ErrorHandler
438
458
  */
439
459
  handleError(errorCandidate) {
440
460
  let error = errorCandidate;
461
+ if (this.isLoadChunkError(error)) {
462
+ console.warn('Old application version detected. Reloading the page to update the application.');
463
+ window.location.reload();
464
+ }
441
465
  // Try to unwrap zone.js error.
442
466
  // https://github.com/angular/angular/blob/master/packages/core/src/util/errors.ts
443
467
  if (error && error.ngOriginalError) {