@rxap/ngx-error 19.1.0 → 19.2.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 +7 -0
- package/compodoc/changelog.html +6 -0
- package/compodoc/dependencies.html +5 -5
- package/compodoc/injectables/ErrorCaptureDialogService.html +43 -4
- package/compodoc/interfaces/IErrorCaptureDialogService.html +9 -2
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +60 -0
- package/compodoc/miscellaneous/variables.html +23 -0
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +688 -503
- 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 -2
- package/docs/html/classes/AnyHttpErrorComponent.html +2 -2
- package/docs/html/classes/AnyHttpErrorService.html +2 -2
- package/docs/html/classes/CodeHttpErrorComponent.html +2 -2
- package/docs/html/classes/CodeHttpErrorService.html +2 -2
- package/docs/html/classes/ErrorCaptureDialogService.html +3 -2
- package/docs/html/classes/ErrorCaptureService.html +2 -2
- package/docs/html/classes/ErrorDialogComponent.html +3 -3
- package/docs/html/classes/MessageHttpErrorComponent.html +2 -2
- package/docs/html/classes/MessageHttpErrorService.html +2 -2
- package/docs/html/classes/OpenApiHttpResponseErrorComponent.html +2 -2
- package/docs/html/classes/OpenApiHttpResponseErrorService.html +2 -2
- 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 -2
- package/docs/html/functions/SimplifyHttpErrorResponse.html +1 -1
- package/docs/html/functions/provideAutoErrorInterception.html +1 -1
- package/docs/html/functions/withErrorCaptureDialogDisabledIf.html +1 -0
- package/docs/html/functions/withErrorCaptureDialogService.html +1 -1
- 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 -2
- 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 -1
- 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_DISABLED.html +1 -0
- 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 -5
- package/docs/markdown/classes/AnyHttpErrorComponent.md +4 -4
- package/docs/markdown/classes/AnyHttpErrorService.md +5 -5
- package/docs/markdown/classes/CodeHttpErrorComponent.md +5 -5
- package/docs/markdown/classes/CodeHttpErrorService.md +5 -5
- package/docs/markdown/classes/ErrorCaptureDialogService.md +13 -5
- package/docs/markdown/classes/ErrorCaptureService.md +5 -5
- package/docs/markdown/classes/ErrorDialogComponent.md +10 -10
- package/docs/markdown/classes/MessageHttpErrorComponent.md +5 -5
- package/docs/markdown/classes/MessageHttpErrorService.md +5 -5
- package/docs/markdown/classes/OpenApiHttpResponseErrorComponent.md +4 -4
- package/docs/markdown/classes/OpenApiHttpResponseErrorService.md +5 -5
- 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 +2 -2
- package/docs/markdown/functions/SimplifyHttpErrorResponse.md +2 -2
- package/docs/markdown/functions/provideAutoErrorInterception.md +2 -2
- package/docs/markdown/functions/withErrorCaptureDialogDisabledIf.md +21 -0
- package/docs/markdown/functions/withErrorCaptureDialogService.md +2 -2
- package/docs/markdown/globals.md +4 -2
- 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 +3 -3
- 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 +2 -2
- 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_DISABLED.md +11 -0
- 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 -4
- package/docs/wiki/Class.AnyHttpErrorComponent.md +3 -3
- package/docs/wiki/Class.AnyHttpErrorService.md +4 -4
- package/docs/wiki/Class.CodeHttpErrorComponent.md +4 -4
- package/docs/wiki/Class.CodeHttpErrorService.md +4 -4
- package/docs/wiki/Class.ErrorCaptureDialogService.md +12 -4
- package/docs/wiki/Class.ErrorCaptureService.md +4 -4
- package/docs/wiki/Class.ErrorDialogComponent.md +9 -9
- package/docs/wiki/Class.MessageHttpErrorComponent.md +4 -4
- package/docs/wiki/Class.MessageHttpErrorService.md +4 -4
- package/docs/wiki/Class.OpenApiHttpResponseErrorComponent.md +3 -3
- package/docs/wiki/Class.OpenApiHttpResponseErrorService.md +4 -4
- 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 +1 -1
- package/docs/wiki/Function.SimplifyHttpErrorResponse.md +1 -1
- package/docs/wiki/Function.provideAutoErrorInterception.md +1 -1
- package/docs/wiki/Function.withErrorCaptureDialogDisabledIf.md +17 -0
- package/docs/wiki/Function.withErrorCaptureDialogService.md +1 -1
- 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 +2 -2
- 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 +1 -1
- 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_DISABLED.md +7 -0
- 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 +2 -0
- package/docs/wiki/globals.md +3 -1
- package/fesm2022/rxap-ngx-error.mjs +16 -4
- package/fesm2022/rxap-ngx-error.mjs.map +1 -1
- package/lib/error-capture-dialog.service.d.ts +1 -0
- package/lib/provide.d.ts +1 -0
- package/lib/tokens.d.ts +1 -0
- package/package.json +27 -27
|
@@ -147,6 +147,9 @@
|
|
|
147
147
|
<li>
|
|
148
148
|
<a href="#SimplifyHttpErrorResponse" title="src/lib/utilities.ts" ><b>SimplifyHttpErrorResponse</b> (src/.../utilities.ts)</a>
|
|
149
149
|
</li>
|
|
150
|
+
<li>
|
|
151
|
+
<a href="#withErrorCaptureDialogDisabledIf" title="src/lib/provide.ts" ><b>withErrorCaptureDialogDisabledIf</b> (src/.../provide.ts)</a>
|
|
152
|
+
</li>
|
|
150
153
|
<li>
|
|
151
154
|
<a href="#withErrorCaptureDialogService" title="src/lib/provide.ts" ><b>withErrorCaptureDialogService</b> (src/.../provide.ts)</a>
|
|
152
155
|
</li>
|
|
@@ -829,6 +832,63 @@
|
|
|
829
832
|
</tr>
|
|
830
833
|
</tbody>
|
|
831
834
|
</table>
|
|
835
|
+
<table class="table table-sm table-bordered">
|
|
836
|
+
<tbody>
|
|
837
|
+
<tr>
|
|
838
|
+
<td class="col-md-4">
|
|
839
|
+
<a name="withErrorCaptureDialogDisabledIf"></a>
|
|
840
|
+
<span class="name">
|
|
841
|
+
<span ><b>withErrorCaptureDialogDisabledIf</b></span>
|
|
842
|
+
<a href="#withErrorCaptureDialogDisabledIf"><span class="icon ion-ios-link"></span></a>
|
|
843
|
+
</span>
|
|
844
|
+
</td>
|
|
845
|
+
</tr>
|
|
846
|
+
<tr>
|
|
847
|
+
<td class="col-md-4">
|
|
848
|
+
<code>withErrorCaptureDialogDisabledIf(condition)</code>
|
|
849
|
+
</td>
|
|
850
|
+
</tr>
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
<tr>
|
|
856
|
+
<td class="col-md-4">
|
|
857
|
+
|
|
858
|
+
<div class="io-description">
|
|
859
|
+
<b>Parameters :</b>
|
|
860
|
+
|
|
861
|
+
<table class="params">
|
|
862
|
+
<thead>
|
|
863
|
+
<tr>
|
|
864
|
+
<td>Name</td>
|
|
865
|
+
<td>Optional</td>
|
|
866
|
+
</tr>
|
|
867
|
+
</thead>
|
|
868
|
+
<tbody>
|
|
869
|
+
<tr>
|
|
870
|
+
<td>condition</td>
|
|
871
|
+
|
|
872
|
+
<td>
|
|
873
|
+
No
|
|
874
|
+
</td>
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
</tr>
|
|
878
|
+
</tbody>
|
|
879
|
+
</table>
|
|
880
|
+
</div>
|
|
881
|
+
<div class="io-description">
|
|
882
|
+
<b>Returns : </b> <code>Provider</code>
|
|
883
|
+
|
|
884
|
+
</div>
|
|
885
|
+
<div class="io-description">
|
|
886
|
+
|
|
887
|
+
</div>
|
|
888
|
+
</td>
|
|
889
|
+
</tr>
|
|
890
|
+
</tbody>
|
|
891
|
+
</table>
|
|
832
892
|
<table class="table table-sm table-bordered">
|
|
833
893
|
<tbody>
|
|
834
894
|
<tr>
|
|
@@ -120,6 +120,9 @@
|
|
|
120
120
|
<li>
|
|
121
121
|
<a href="#RXAP_ERROR_DIALOG_DATA" title="src/lib/tokens.ts" ><b>RXAP_ERROR_DIALOG_DATA</b> (src/.../tokens.ts)</a>
|
|
122
122
|
</li>
|
|
123
|
+
<li>
|
|
124
|
+
<a href="#RXAP_ERROR_DIALOG_DISABLED" title="src/lib/tokens.ts" ><b>RXAP_ERROR_DIALOG_DISABLED</b> (src/.../tokens.ts)</a>
|
|
125
|
+
</li>
|
|
123
126
|
<li>
|
|
124
127
|
<a href="#RXAP_ERROR_DIALOG_ERROR" title="src/lib/tokens.ts" ><b>RXAP_ERROR_DIALOG_ERROR</b> (src/.../tokens.ts)</a>
|
|
125
128
|
</li>
|
|
@@ -200,6 +203,26 @@
|
|
|
200
203
|
</tr>
|
|
201
204
|
|
|
202
205
|
|
|
206
|
+
</tbody>
|
|
207
|
+
</table>
|
|
208
|
+
<table class="table table-sm table-bordered">
|
|
209
|
+
<tbody>
|
|
210
|
+
<tr>
|
|
211
|
+
<td class="col-md-4">
|
|
212
|
+
<a name="RXAP_ERROR_DIALOG_DISABLED"></a>
|
|
213
|
+
<span class="name">
|
|
214
|
+
<span ><b>RXAP_ERROR_DIALOG_DISABLED</b></span>
|
|
215
|
+
<a href="#RXAP_ERROR_DIALOG_DISABLED"><span class="icon ion-ios-link"></span></a>
|
|
216
|
+
</span>
|
|
217
|
+
</td>
|
|
218
|
+
</tr>
|
|
219
|
+
<tr>
|
|
220
|
+
<td class="col-md-4">
|
|
221
|
+
<i>Default value : </i><code>new InjectionToken<boolean>('rxap/error/dialog-disabled')</code>
|
|
222
|
+
</td>
|
|
223
|
+
</tr>
|
|
224
|
+
|
|
225
|
+
|
|
203
226
|
</tbody>
|
|
204
227
|
</table>
|
|
205
228
|
<table class="table table-sm table-bordered">
|
package/compodoc/properties.html
CHANGED
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
</ol>
|
|
103
103
|
<ul class="properties-list">
|
|
104
104
|
<li>
|
|
105
|
-
<b>Version</b> : 19.
|
|
105
|
+
<b>Version</b> : 19.2.0-dev.0</li>
|
|
106
106
|
<li>
|
|
107
107
|
<b>Description</b> : This package provides a comprehensive error handling solution for Angular applications, including interceptors, services, and UI components to display different types of errors in a user-friendly dialog. It supports handling of generic errors, HTTP errors with messages or codes, and OpenAPI HTTP response errors, with customizable options for logging, displaying dialogs, and integrating with Sentry. The package aims to simplify error management and improve the user experience by providing clear and informative error messages.
|
|
108
108
|
</li>
|