@rxap/ngx-error 19.0.4-dev.0 → 19.1.0-dev.0
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.
- package/CHANGELOG.md +6 -0
- package/compodoc/changelog.html +5 -0
- package/compodoc/components/ErrorDialogComponent.html +5 -3
- package/compodoc/dependencies.html +5 -5
- package/compodoc/injectables/AngularErrorService.html +1 -77
- package/compodoc/injectables/AnyHttpErrorService.html +1 -77
- package/compodoc/injectables/CodeHttpErrorService.html +1 -77
- package/compodoc/injectables/ErrorCaptureDialogService.html +490 -0
- package/compodoc/injectables/ErrorCaptureService.html +13 -121
- package/compodoc/injectables/MessageHttpErrorService.html +1 -77
- package/compodoc/injectables/OpenApiHttpResponseErrorService.html +1 -77
- package/compodoc/injectables/RxapErrorHandler.html +10 -15
- package/compodoc/interfaces/ErrorHandlerOptions.html +2 -7
- package/compodoc/interfaces/IErrorCaptureDialogService.html +405 -0
- package/compodoc/js/menu-wc.js +6 -0
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +130 -4
- package/compodoc/miscellaneous/variables.html +23 -0
- package/compodoc/overview.html +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1809 -1569
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AngularErrorComponent.html +2 -2
- package/docs/html/classes/AngularErrorService.html +2 -3
- package/docs/html/classes/AnyHttpErrorComponent.html +2 -2
- package/docs/html/classes/AnyHttpErrorService.html +2 -3
- package/docs/html/classes/CodeHttpErrorComponent.html +2 -2
- package/docs/html/classes/CodeHttpErrorService.html +2 -3
- package/docs/html/classes/ErrorCaptureDialogService.html +5 -0
- package/docs/html/classes/ErrorCaptureService.html +2 -3
- package/docs/html/classes/ErrorDialogComponent.html +3 -3
- package/docs/html/classes/MessageHttpErrorComponent.html +2 -2
- package/docs/html/classes/MessageHttpErrorService.html +2 -3
- package/docs/html/classes/OpenApiHttpResponseErrorComponent.html +2 -2
- package/docs/html/classes/OpenApiHttpResponseErrorService.html +2 -3
- package/docs/html/classes/RxapErrorHandler.html +3 -3
- package/docs/html/functions/DefaultErrorCodeExtractor.html +1 -1
- package/docs/html/functions/DefaultErrorFilter.html +1 -1
- package/docs/html/functions/ExtractContextFromError.html +1 -1
- package/docs/html/functions/ExtractError.html +1 -1
- package/docs/html/functions/ExtractExtraFromError.html +1 -1
- package/docs/html/functions/ExtractTagsFromError.html +1 -1
- package/docs/html/functions/HttpErrorInterceptor.html +1 -1
- package/docs/html/functions/PrintError.html +1 -1
- package/docs/html/functions/ProvideErrorHandler.html +2 -1
- package/docs/html/functions/SimplifyHttpErrorResponse.html +1 -1
- package/docs/html/functions/provideAutoErrorInterception.html +1 -0
- package/docs/html/functions/withErrorCaptureDialogService.html +1 -0
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AngularErrorDialogData.html +2 -2
- package/docs/html/interfaces/AnyHttpErrorDialogData.html +8 -8
- package/docs/html/interfaces/CodeHttpErrorDialogData.html +8 -8
- package/docs/html/interfaces/ErrorHandlerOptions.html +2 -2
- package/docs/html/interfaces/ErrorInterceptorOptions.html +2 -2
- package/docs/html/interfaces/IErrorCaptureDialogService.html +2 -0
- package/docs/html/interfaces/IErrorDialogComponent.html +2 -2
- package/docs/html/interfaces/MessageHttpErrorDialogData.html +8 -8
- package/docs/html/interfaces/OpenApiHttpResponseErrorDialogData.html +8 -8
- package/docs/html/interfaces/SimplifiedHttpErrorResponse.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.html +1 -0
- package/docs/html/variables/RXAP_ERROR_DIALOG_COMPONENT.html +1 -1
- package/docs/html/variables/RXAP_ERROR_DIALOG_DATA.html +1 -1
- package/docs/html/variables/RXAP_ERROR_DIALOG_ERROR.html +1 -1
- package/docs/html/variables/RXAP_ERROR_HANDLER_OPTIONS.html +1 -1
- package/docs/html/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AngularErrorComponent.md +6 -6
- package/docs/markdown/classes/AngularErrorService.md +5 -27
- package/docs/markdown/classes/AnyHttpErrorComponent.md +4 -4
- package/docs/markdown/classes/AnyHttpErrorService.md +5 -27
- package/docs/markdown/classes/CodeHttpErrorComponent.md +5 -5
- package/docs/markdown/classes/CodeHttpErrorService.md +5 -27
- package/docs/markdown/classes/ErrorCaptureDialogService.md +69 -0
- package/docs/markdown/classes/ErrorCaptureService.md +5 -23
- package/docs/markdown/classes/ErrorDialogComponent.md +10 -10
- package/docs/markdown/classes/MessageHttpErrorComponent.md +5 -5
- package/docs/markdown/classes/MessageHttpErrorService.md +5 -27
- package/docs/markdown/classes/OpenApiHttpResponseErrorComponent.md +4 -4
- package/docs/markdown/classes/OpenApiHttpResponseErrorService.md +5 -27
- package/docs/markdown/classes/RxapErrorHandler.md +7 -7
- package/docs/markdown/functions/DefaultErrorCodeExtractor.md +2 -2
- package/docs/markdown/functions/DefaultErrorFilter.md +2 -2
- package/docs/markdown/functions/ExtractContextFromError.md +2 -2
- package/docs/markdown/functions/ExtractError.md +2 -2
- package/docs/markdown/functions/ExtractExtraFromError.md +2 -2
- package/docs/markdown/functions/ExtractTagsFromError.md +2 -2
- package/docs/markdown/functions/HttpErrorInterceptor.md +2 -2
- package/docs/markdown/functions/PrintError.md +2 -2
- package/docs/markdown/functions/ProvideErrorHandler.md +9 -5
- package/docs/markdown/functions/SimplifyHttpErrorResponse.md +2 -2
- package/docs/markdown/functions/provideAutoErrorInterception.md +21 -0
- package/docs/markdown/functions/withErrorCaptureDialogService.md +21 -0
- package/docs/markdown/globals.md +8 -3
- package/docs/markdown/interfaces/AngularErrorDialogData.md +8 -8
- package/docs/markdown/interfaces/AnyHttpErrorDialogData.md +15 -15
- package/docs/markdown/interfaces/CodeHttpErrorDialogData.md +16 -16
- package/docs/markdown/interfaces/ErrorHandlerOptions.md +5 -5
- package/docs/markdown/interfaces/ErrorInterceptorOptions.md +4 -4
- package/docs/markdown/interfaces/IErrorCaptureDialogService.md +35 -0
- package/docs/markdown/interfaces/IErrorDialogComponent.md +3 -3
- package/docs/markdown/interfaces/MessageHttpErrorDialogData.md +15 -15
- package/docs/markdown/interfaces/OpenApiHttpResponseErrorDialogData.md +18 -18
- package/docs/markdown/interfaces/SimplifiedHttpErrorResponse.md +12 -12
- package/docs/markdown/variables/RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +11 -0
- package/docs/markdown/variables/RXAP_ERROR_DIALOG_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_DIALOG_DATA.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_DIALOG_ERROR.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_HANDLER_OPTIONS.md +2 -2
- package/docs/markdown/variables/RXAP_ERROR_INTERCEPTOR_OPTIONS.md +2 -2
- package/docs/wiki/Class.AngularErrorComponent.md +5 -5
- package/docs/wiki/Class.AngularErrorService.md +4 -26
- package/docs/wiki/Class.AnyHttpErrorComponent.md +3 -3
- package/docs/wiki/Class.AnyHttpErrorService.md +4 -26
- package/docs/wiki/Class.CodeHttpErrorComponent.md +4 -4
- package/docs/wiki/Class.CodeHttpErrorService.md +4 -26
- package/docs/wiki/Class.ErrorCaptureDialogService.md +65 -0
- package/docs/wiki/Class.ErrorCaptureService.md +4 -22
- package/docs/wiki/Class.ErrorDialogComponent.md +9 -9
- package/docs/wiki/Class.MessageHttpErrorComponent.md +4 -4
- package/docs/wiki/Class.MessageHttpErrorService.md +4 -26
- package/docs/wiki/Class.OpenApiHttpResponseErrorComponent.md +3 -3
- package/docs/wiki/Class.OpenApiHttpResponseErrorService.md +4 -26
- package/docs/wiki/Class.RxapErrorHandler.md +6 -6
- package/docs/wiki/Function.DefaultErrorCodeExtractor.md +1 -1
- package/docs/wiki/Function.DefaultErrorFilter.md +1 -1
- package/docs/wiki/Function.ExtractContextFromError.md +1 -1
- package/docs/wiki/Function.ExtractError.md +1 -1
- package/docs/wiki/Function.ExtractExtraFromError.md +1 -1
- package/docs/wiki/Function.ExtractTagsFromError.md +1 -1
- package/docs/wiki/Function.HttpErrorInterceptor.md +1 -1
- package/docs/wiki/Function.PrintError.md +1 -1
- package/docs/wiki/Function.ProvideErrorHandler.md +8 -4
- package/docs/wiki/Function.SimplifyHttpErrorResponse.md +1 -1
- package/docs/wiki/Function.provideAutoErrorInterception.md +17 -0
- package/docs/wiki/Function.withErrorCaptureDialogService.md +17 -0
- package/docs/wiki/Interface.AngularErrorDialogData.md +7 -7
- package/docs/wiki/Interface.AnyHttpErrorDialogData.md +14 -14
- package/docs/wiki/Interface.CodeHttpErrorDialogData.md +15 -15
- package/docs/wiki/Interface.ErrorHandlerOptions.md +4 -4
- package/docs/wiki/Interface.ErrorInterceptorOptions.md +3 -3
- package/docs/wiki/Interface.IErrorCaptureDialogService.md +31 -0
- package/docs/wiki/Interface.IErrorDialogComponent.md +2 -2
- package/docs/wiki/Interface.MessageHttpErrorDialogData.md +14 -14
- package/docs/wiki/Interface.OpenApiHttpResponseErrorDialogData.md +17 -17
- package/docs/wiki/Interface.SimplifiedHttpErrorResponse.md +11 -11
- package/docs/wiki/Variable.RXAP_ERROR_CAPTURE_DIALOG_SERVICE.md +7 -0
- package/docs/wiki/Variable.RXAP_ERROR_DIALOG_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_DIALOG_DATA.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_DIALOG_ERROR.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_HANDLER_OPTIONS.md +1 -1
- package/docs/wiki/Variable.RXAP_ERROR_INTERCEPTOR_OPTIONS.md +1 -1
- package/docs/wiki/_Sidebar.md +5 -0
- package/docs/wiki/globals.md +7 -2
- package/fesm2022/rxap-ngx-error.mjs +81 -39
- package/fesm2022/rxap-ngx-error.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/error-capture-dialog.service.d.ts +15 -0
- package/lib/error-capture.service.d.ts +1 -3
- package/lib/error-handler.d.ts +1 -2
- package/lib/provide.d.ts +9 -0
- package/lib/tokens.d.ts +2 -0
- package/package.json +28 -32
|
@@ -162,9 +162,6 @@
|
|
|
162
162
|
<span class="modifier"></span>
|
|
163
163
|
<a href="#compare" >compare</a>
|
|
164
164
|
</li>
|
|
165
|
-
<li>
|
|
166
|
-
<a href="#openDialog" >openDialog</a>
|
|
167
|
-
</li>
|
|
168
165
|
<li>
|
|
169
166
|
<a href="#push" >push</a>
|
|
170
167
|
</li>
|
|
@@ -273,79 +270,6 @@
|
|
|
273
270
|
</tr>
|
|
274
271
|
</tbody>
|
|
275
272
|
</table>
|
|
276
|
-
<table class="table table-sm table-bordered">
|
|
277
|
-
<tbody>
|
|
278
|
-
<tr>
|
|
279
|
-
<td class="col-md-4">
|
|
280
|
-
<a name="openDialog"></a>
|
|
281
|
-
<span class="name">
|
|
282
|
-
<span ><b>openDialog</b></span>
|
|
283
|
-
<a href="#openDialog"><span class="icon ion-ios-link"></span></a>
|
|
284
|
-
</span>
|
|
285
|
-
</td>
|
|
286
|
-
</tr>
|
|
287
|
-
<tr>
|
|
288
|
-
<td class="col-md-4">
|
|
289
|
-
<code>openDialog(errorList: WritableSignal<Error[]>)</code>
|
|
290
|
-
</td>
|
|
291
|
-
</tr>
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
<tr>
|
|
295
|
-
<td class="col-md-4">
|
|
296
|
-
<div class="io-line">Inherited from <code><a href="../injectables/ErrorCaptureService.html" target="_self" >ErrorCaptureService</a></code>
|
|
297
|
-
</div>
|
|
298
|
-
</td>
|
|
299
|
-
</tr>
|
|
300
|
-
<tr>
|
|
301
|
-
<td class="col-md-4">
|
|
302
|
-
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:48</a></code>
|
|
303
|
-
</div>
|
|
304
|
-
</td>
|
|
305
|
-
</tr>
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
<tr>
|
|
309
|
-
<td class="col-md-4">
|
|
310
|
-
|
|
311
|
-
<div class="io-description">
|
|
312
|
-
<b>Parameters :</b>
|
|
313
|
-
|
|
314
|
-
<table class="params">
|
|
315
|
-
<thead>
|
|
316
|
-
<tr>
|
|
317
|
-
<td>Name</td>
|
|
318
|
-
<td>Type</td>
|
|
319
|
-
<td>Optional</td>
|
|
320
|
-
</tr>
|
|
321
|
-
</thead>
|
|
322
|
-
<tbody>
|
|
323
|
-
<tr>
|
|
324
|
-
<td>errorList</td>
|
|
325
|
-
<td>
|
|
326
|
-
<code>WritableSignal<Error[]></code>
|
|
327
|
-
</td>
|
|
328
|
-
|
|
329
|
-
<td>
|
|
330
|
-
No
|
|
331
|
-
</td>
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
</tr>
|
|
335
|
-
</tbody>
|
|
336
|
-
</table>
|
|
337
|
-
</div>
|
|
338
|
-
<div class="io-description">
|
|
339
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
340
|
-
|
|
341
|
-
</div>
|
|
342
|
-
<div class="io-description">
|
|
343
|
-
|
|
344
|
-
</div>
|
|
345
|
-
</td>
|
|
346
|
-
</tr>
|
|
347
|
-
</tbody>
|
|
348
|
-
</table>
|
|
349
273
|
<table class="table table-sm table-bordered">
|
|
350
274
|
<tbody>
|
|
351
275
|
<tr>
|
|
@@ -372,7 +296,7 @@
|
|
|
372
296
|
</tr>
|
|
373
297
|
<tr>
|
|
374
298
|
<td class="col-md-4">
|
|
375
|
-
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:
|
|
299
|
+
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:23</a></code>
|
|
376
300
|
</div>
|
|
377
301
|
</td>
|
|
378
302
|
</tr>
|
|
@@ -162,9 +162,6 @@
|
|
|
162
162
|
<span class="modifier"></span>
|
|
163
163
|
<a href="#compare" >compare</a>
|
|
164
164
|
</li>
|
|
165
|
-
<li>
|
|
166
|
-
<a href="#openDialog" >openDialog</a>
|
|
167
|
-
</li>
|
|
168
165
|
<li>
|
|
169
166
|
<a href="#push" >push</a>
|
|
170
167
|
</li>
|
|
@@ -273,79 +270,6 @@
|
|
|
273
270
|
</tr>
|
|
274
271
|
</tbody>
|
|
275
272
|
</table>
|
|
276
|
-
<table class="table table-sm table-bordered">
|
|
277
|
-
<tbody>
|
|
278
|
-
<tr>
|
|
279
|
-
<td class="col-md-4">
|
|
280
|
-
<a name="openDialog"></a>
|
|
281
|
-
<span class="name">
|
|
282
|
-
<span ><b>openDialog</b></span>
|
|
283
|
-
<a href="#openDialog"><span class="icon ion-ios-link"></span></a>
|
|
284
|
-
</span>
|
|
285
|
-
</td>
|
|
286
|
-
</tr>
|
|
287
|
-
<tr>
|
|
288
|
-
<td class="col-md-4">
|
|
289
|
-
<code>openDialog(errorList: WritableSignal<Error[]>)</code>
|
|
290
|
-
</td>
|
|
291
|
-
</tr>
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
<tr>
|
|
295
|
-
<td class="col-md-4">
|
|
296
|
-
<div class="io-line">Inherited from <code><a href="../injectables/ErrorCaptureService.html" target="_self" >ErrorCaptureService</a></code>
|
|
297
|
-
</div>
|
|
298
|
-
</td>
|
|
299
|
-
</tr>
|
|
300
|
-
<tr>
|
|
301
|
-
<td class="col-md-4">
|
|
302
|
-
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:48</a></code>
|
|
303
|
-
</div>
|
|
304
|
-
</td>
|
|
305
|
-
</tr>
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
<tr>
|
|
309
|
-
<td class="col-md-4">
|
|
310
|
-
|
|
311
|
-
<div class="io-description">
|
|
312
|
-
<b>Parameters :</b>
|
|
313
|
-
|
|
314
|
-
<table class="params">
|
|
315
|
-
<thead>
|
|
316
|
-
<tr>
|
|
317
|
-
<td>Name</td>
|
|
318
|
-
<td>Type</td>
|
|
319
|
-
<td>Optional</td>
|
|
320
|
-
</tr>
|
|
321
|
-
</thead>
|
|
322
|
-
<tbody>
|
|
323
|
-
<tr>
|
|
324
|
-
<td>errorList</td>
|
|
325
|
-
<td>
|
|
326
|
-
<code>WritableSignal<Error[]></code>
|
|
327
|
-
</td>
|
|
328
|
-
|
|
329
|
-
<td>
|
|
330
|
-
No
|
|
331
|
-
</td>
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
</tr>
|
|
335
|
-
</tbody>
|
|
336
|
-
</table>
|
|
337
|
-
</div>
|
|
338
|
-
<div class="io-description">
|
|
339
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
340
|
-
|
|
341
|
-
</div>
|
|
342
|
-
<div class="io-description">
|
|
343
|
-
|
|
344
|
-
</div>
|
|
345
|
-
</td>
|
|
346
|
-
</tr>
|
|
347
|
-
</tbody>
|
|
348
|
-
</table>
|
|
349
273
|
<table class="table table-sm table-bordered">
|
|
350
274
|
<tbody>
|
|
351
275
|
<tr>
|
|
@@ -372,7 +296,7 @@
|
|
|
372
296
|
</tr>
|
|
373
297
|
<tr>
|
|
374
298
|
<td class="col-md-4">
|
|
375
|
-
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:
|
|
299
|
+
<div class="io-line">Defined in <code><a href="../injectables/ErrorCaptureService.html#source" target="_self" >ErrorCaptureService:23</a></code>
|
|
376
300
|
</div>
|
|
377
301
|
</td>
|
|
378
302
|
</tr>
|
|
@@ -208,8 +208,8 @@
|
|
|
208
208
|
|
|
209
209
|
<tr>
|
|
210
210
|
<td class="col-md-4">
|
|
211
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
212
|
-
class="link-to-prism">src/lib/error-handler.ts:
|
|
211
|
+
<div class="io-line">Defined in <a href="" data-line="71"
|
|
212
|
+
class="link-to-prism">src/lib/error-handler.ts:71</a></div>
|
|
213
213
|
</td>
|
|
214
214
|
</tr>
|
|
215
215
|
|
|
@@ -275,8 +275,8 @@
|
|
|
275
275
|
|
|
276
276
|
<tr>
|
|
277
277
|
<td class="col-md-4">
|
|
278
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
279
|
-
class="link-to-prism">src/lib/error-handler.ts:
|
|
278
|
+
<div class="io-line">Defined in <a href="" data-line="159"
|
|
279
|
+
class="link-to-prism">src/lib/error-handler.ts:159</a></div>
|
|
280
280
|
</td>
|
|
281
281
|
</tr>
|
|
282
282
|
|
|
@@ -344,8 +344,8 @@
|
|
|
344
344
|
|
|
345
345
|
<tr>
|
|
346
346
|
<td class="col-md-4">
|
|
347
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
348
|
-
class="link-to-prism">src/lib/error-handler.ts:
|
|
347
|
+
<div class="io-line">Defined in <a href="" data-line="153"
|
|
348
|
+
class="link-to-prism">src/lib/error-handler.ts:153</a></div>
|
|
349
349
|
</td>
|
|
350
350
|
</tr>
|
|
351
351
|
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
</tr>
|
|
418
418
|
<tr>
|
|
419
419
|
<td class="col-md-4">
|
|
420
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
420
|
+
<div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/lib/error-handler.ts:66</a></div>
|
|
421
421
|
</td>
|
|
422
422
|
</tr>
|
|
423
423
|
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
</tr>
|
|
464
464
|
<tr>
|
|
465
465
|
<td class="col-md-4">
|
|
466
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
466
|
+
<div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/lib/error-handler.ts:51</a></div>
|
|
467
467
|
</td>
|
|
468
468
|
</tr>
|
|
469
469
|
|
|
@@ -478,12 +478,14 @@
|
|
|
478
478
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
479
479
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { HttpErrorResponse } from '@angular/common/http';
|
|
480
480
|
import {
|
|
481
|
+
EnvironmentProviders,
|
|
481
482
|
ErrorHandler,
|
|
482
483
|
inject,
|
|
483
484
|
Injectable,
|
|
484
485
|
InjectionToken,
|
|
485
486
|
INJECTOR,
|
|
486
487
|
isDevMode,
|
|
488
|
+
Provider,
|
|
487
489
|
runInInjectionContext,
|
|
488
490
|
StaticProvider,
|
|
489
491
|
} from '@angular/core';
|
|
@@ -640,13 +642,6 @@ export class RxapErrorHandler implements ErrorHandler {
|
|
|
640
642
|
|
|
641
643
|
|
|
642
644
|
}
|
|
643
|
-
|
|
644
|
-
export function ProvideErrorHandler(): StaticProvider {
|
|
645
|
-
return {
|
|
646
|
-
provide: ErrorHandler,
|
|
647
|
-
useClass: RxapErrorHandler,
|
|
648
|
-
};
|
|
649
|
-
}
|
|
650
645
|
</code></pre>
|
|
651
646
|
</div>
|
|
652
647
|
|
|
@@ -293,12 +293,14 @@
|
|
|
293
293
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
294
294
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { HttpErrorResponse } from '@angular/common/http';
|
|
295
295
|
import {
|
|
296
|
+
EnvironmentProviders,
|
|
296
297
|
ErrorHandler,
|
|
297
298
|
inject,
|
|
298
299
|
Injectable,
|
|
299
300
|
InjectionToken,
|
|
300
301
|
INJECTOR,
|
|
301
302
|
isDevMode,
|
|
303
|
+
Provider,
|
|
302
304
|
runInInjectionContext,
|
|
303
305
|
StaticProvider,
|
|
304
306
|
} from '@angular/core';
|
|
@@ -455,13 +457,6 @@ export class RxapErrorHandler implements ErrorHandler {
|
|
|
455
457
|
|
|
456
458
|
|
|
457
459
|
}
|
|
458
|
-
|
|
459
|
-
export function ProvideErrorHandler(): StaticProvider {
|
|
460
|
-
return {
|
|
461
|
-
provide: ErrorHandler,
|
|
462
|
-
useClass: RxapErrorHandler,
|
|
463
|
-
};
|
|
464
|
-
}
|
|
465
460
|
</code></pre>
|
|
466
461
|
</div>
|
|
467
462
|
</div>
|