@rxap/ngx-error 19.0.1 → 19.0.2-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.
- package/CHANGELOG.md +10 -0
- package/README.md +25 -23
- package/compodoc/changelog.html +7 -0
- package/compodoc/dependencies.html +5 -5
- package/compodoc/index.html +15 -21
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +224 -223
- package/docs/html/assets/highlight.css +6 -13
- 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/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 +1 -1
- package/docs/html/functions/SimplifyHttpErrorResponse.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +23 -22
- 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/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_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 +26 -24
- package/docs/markdown/classes/AngularErrorComponent.md +6 -6
- package/docs/markdown/classes/AngularErrorService.md +6 -6
- package/docs/markdown/classes/AnyHttpErrorComponent.md +4 -4
- package/docs/markdown/classes/AnyHttpErrorService.md +6 -6
- package/docs/markdown/classes/CodeHttpErrorComponent.md +5 -5
- package/docs/markdown/classes/CodeHttpErrorService.md +6 -6
- package/docs/markdown/classes/ErrorCaptureService.md +6 -6
- package/docs/markdown/classes/ErrorDialogComponent.md +10 -10
- package/docs/markdown/classes/MessageHttpErrorComponent.md +5 -5
- package/docs/markdown/classes/MessageHttpErrorService.md +6 -6
- package/docs/markdown/classes/OpenApiHttpResponseErrorComponent.md +4 -4
- package/docs/markdown/classes/OpenApiHttpResponseErrorService.md +6 -6
- 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/globals.md +2 -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/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_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 +5 -5
- package/docs/wiki/Class.AnyHttpErrorComponent.md +3 -3
- package/docs/wiki/Class.AnyHttpErrorService.md +5 -5
- package/docs/wiki/Class.CodeHttpErrorComponent.md +4 -4
- package/docs/wiki/Class.CodeHttpErrorService.md +5 -5
- package/docs/wiki/Class.ErrorCaptureService.md +5 -5
- package/docs/wiki/Class.ErrorDialogComponent.md +9 -9
- package/docs/wiki/Class.MessageHttpErrorComponent.md +4 -4
- package/docs/wiki/Class.MessageHttpErrorService.md +5 -5
- package/docs/wiki/Class.OpenApiHttpResponseErrorComponent.md +3 -3
- package/docs/wiki/Class.OpenApiHttpResponseErrorService.md +5 -5
- 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/Home.md +25 -23
- 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.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_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/globals.md +1 -1
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [19.0.2-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/ngx-error@19.0.2-dev.0...@rxap/ngx-error@19.0.2-dev.1) (2025-02-18)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- update package groups ([4afd316](https://gitlab.com/rxap/packages/commit/4afd316e33c6edab0e500d7ddc572ae8e48f8c34))
|
|
11
|
+
|
|
12
|
+
## [19.0.2-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/ngx-error@19.0.1...@rxap/ngx-error@19.0.2-dev.0) (2025-02-18)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @rxap/ngx-error
|
|
15
|
+
|
|
6
16
|
## [19.0.1](https://gitlab.com/rxap/packages/compare/@rxap/ngx-error@19.0.1-dev.6...@rxap/ngx-error@19.0.1) (2025-02-13)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @rxap/ngx-error
|
package/README.md
CHANGED
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
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.
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@rxap/ngx-error)
|
|
4
|
-
[](https://github.com/prettier/prettier)
|
|
8
|
-

|
|
4
|
+
[](https://commitizen.github.io/cz-cli/)
|
|
5
|
+
[](https://github.com/prettier/prettier)
|
|
6
|
+

|
|
10
7
|

|
|
11
|
-

|
|
12
|
-
|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
- [Installation](#installation)
|
|
13
11
|
- [Generators](#generators)
|
|
14
|
-
|
|
12
|
+
- [init](#init)
|
|
13
|
+
|
|
14
|
+
# Installation
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
**Add the package to your workspace:**
|
|
17
|
+
```bash
|
|
18
|
+
yarn add @rxap/ngx-error
|
|
19
|
+
```
|
|
20
|
+
**Install peer dependencies:**
|
|
21
|
+
```bash
|
|
22
|
+
yarn add @angular/cdk@^19.1.1 @angular/common@^19.1.3 @angular/core@^19.1.3 @rxap/components@^19.0.2-dev.1 @rxap/config@^19.0.2-dev.1 @rxap/data-grid@^19.0.2-dev.1 @rxap/environment@^19.0.2-dev.0 @rxap/open-api@^19.0.2-dev.1 @sentry/angular@^8.18.0 rxjs@^7.8.1
|
|
23
|
+
```
|
|
24
|
+
**Execute the init generator:**
|
|
25
|
+
```bash
|
|
26
|
+
yarn nx g @rxap/ngx-error:init
|
|
18
27
|
```
|
|
19
|
-
**Install peer dependencies:** ```bash yarn add
|
|
20
|
-
@angular/cdk@^19.1.1 @angular/common@^19.1.3 @angular/core@^19.1.3 @rxap/components@^19.0.1-dev.5 @rxap/config@^19.0.1-dev.5 @rxap/data-grid@^19.0.1-dev.5 @rxap/environment@^19.0.1-dev.5 @rxap/open-api@^19.0.1-dev.5 @sentry/angular@^8.18.0 rxjs@^7.8.1
|
|
21
|
-
```
|
|
22
|
-
**Execute the init generator:** ```bash yarn nx g
|
|
23
|
-
@rxap/ngx-error:init ```
|
|
24
28
|
# Generators
|
|
25
29
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
>
|
|
29
|
-
Initialize the package in the workspace
|
|
30
|
+
## init
|
|
31
|
+
> Initialize the package in the workspace
|
|
30
32
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
```bash
|
|
34
|
+
nx g @rxap/ngx-error:init
|
|
35
|
+
```
|
package/compodoc/changelog.html
CHANGED
|
@@ -85,6 +85,13 @@
|
|
|
85
85
|
<h1>Change Log</h1>
|
|
86
86
|
<p>All notable changes to this project will be documented in this file.
|
|
87
87
|
See <a href="https://conventionalcommits.org">Conventional Commits</a> for commit guidelines.</p>
|
|
88
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/ngx-error@19.0.2-dev.0...@rxap/ngx-error@19.0.2-dev.1">19.0.2-dev.1</a> (2025-02-18)</h2>
|
|
89
|
+
<h3>Bug Fixes</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li>update package groups (<a href="https://gitlab.com/rxap/packages/commit/4afd316e33c6edab0e500d7ddc572ae8e48f8c34">4afd316</a>)</li>
|
|
92
|
+
</ul>
|
|
93
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/ngx-error@19.0.1...@rxap/ngx-error@19.0.2-dev.0">19.0.2-dev.0</a> (2025-02-18)</h2>
|
|
94
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/ngx-error</p>
|
|
88
95
|
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/ngx-error@19.0.1-dev.6...@rxap/ngx-error@19.0.1">19.0.1</a> (2025-02-13)</h2>
|
|
89
96
|
<p><strong>Note:</strong> Version bump only for package @rxap/ngx-error</p>
|
|
90
97
|
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/ngx-error@19.0.1-dev.5...@rxap/ngx-error@19.0.1-dev.6">19.0.1-dev.6</a> (2025-02-13)</h2>
|
|
@@ -119,15 +119,15 @@
|
|
|
119
119
|
<li>
|
|
120
120
|
<b>@angular/core</b> : ^19.1.3</li>
|
|
121
121
|
<li>
|
|
122
|
-
<b>@rxap/components</b> : ^19.0.
|
|
122
|
+
<b>@rxap/components</b> : ^19.0.2-dev.1</li>
|
|
123
123
|
<li>
|
|
124
|
-
<b>@rxap/config</b> : ^19.0.
|
|
124
|
+
<b>@rxap/config</b> : ^19.0.2-dev.1</li>
|
|
125
125
|
<li>
|
|
126
|
-
<b>@rxap/data-grid</b> : ^19.0.
|
|
126
|
+
<b>@rxap/data-grid</b> : ^19.0.2-dev.1</li>
|
|
127
127
|
<li>
|
|
128
|
-
<b>@rxap/environment</b> : ^19.0.
|
|
128
|
+
<b>@rxap/environment</b> : ^19.0.2-dev.0</li>
|
|
129
129
|
<li>
|
|
130
|
-
<b>@rxap/open-api</b> : ^19.0.
|
|
130
|
+
<b>@rxap/open-api</b> : ^19.0.2-dev.1</li>
|
|
131
131
|
<li>
|
|
132
132
|
<b>@sentry/angular</b> : ^8.18.0</li>
|
|
133
133
|
<li>
|
package/compodoc/index.html
CHANGED
|
@@ -84,34 +84,28 @@
|
|
|
84
84
|
|
|
85
85
|
<p>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.</p>
|
|
86
86
|
<p><a href="https://www.npmjs.com/package/@rxap/ngx-error"><img src="https://img.shields.io/npm/v/@rxap/ngx-error?style=flat-square" alt="npm version" class="img-responsive"></a>
|
|
87
|
-
<a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen
|
|
88
|
-
|
|
89
|
-
<
|
|
90
|
-
prettier" class="img-responsive"></a>
|
|
91
|
-
<img src="https://img.shields.io/librariesio/release/npm/@rxap/ngx-error" alt="Libraries.io dependency status for latest release, scoped npm
|
|
92
|
-
package" class="img-responsive">
|
|
87
|
+
<a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen friendly" class="img-responsive"></a>
|
|
88
|
+
<a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square" alt="styled with prettier" class="img-responsive"></a>
|
|
89
|
+
<img src="https://img.shields.io/librariesio/release/npm/@rxap/ngx-error" alt="Libraries.io dependency status for latest release, scoped npm package" class="img-responsive">
|
|
93
90
|
<img src="https://img.shields.io/npm/dm/@rxap/ngx-error" alt="npm" class="img-responsive">
|
|
94
|
-
<img src="https://img.shields.io/npm/l/@rxap/ngx-error" alt="NPM" class="img-responsive">
|
|
95
|
-
<a href="#installation">Installation</a></p>
|
|
91
|
+
<img src="https://img.shields.io/npm/l/@rxap/ngx-error" alt="NPM" class="img-responsive"></p>
|
|
96
92
|
<ul>
|
|
93
|
+
<li><a href="#installation">Installation</a></li>
|
|
97
94
|
<li><a href="#generators">Generators</a><ul>
|
|
98
95
|
<li><a href="#init">init</a></li>
|
|
99
96
|
</ul>
|
|
100
97
|
</li>
|
|
101
98
|
</ul>
|
|
102
|
-
<h1>Installation
|
|
103
|
-
<p
|
|
104
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-
|
|
105
|
-
|
|
106
|
-
<h1>Generators</h1>
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
```bash nx g
|
|
113
|
-
@rxap/ngx-error:init
|
|
114
|
-
```</code></pre></div>
|
|
99
|
+
<h1>Installation</h1>
|
|
100
|
+
<p><strong>Add the package to your workspace:</strong></p>
|
|
101
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn add @rxap/ngx-error</code></pre></div><p><strong>Install peer dependencies:</strong></p>
|
|
102
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn add @angular/cdk@^19.1.1 @angular/common@^19.1.3 @angular/core@^19.1.3 @rxap/components@^19.0.2-dev.1 @rxap/config@^19.0.2-dev.1 @rxap/data-grid@^19.0.2-dev.1 @rxap/environment@^19.0.2-dev.0 @rxap/open-api@^19.0.2-dev.1 @sentry/angular@^8.18.0 rxjs@^7.8.1 </code></pre></div><p><strong>Execute the init generator:</strong></p>
|
|
103
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn nx g @rxap/ngx-error:init</code></pre></div><h1>Generators</h1>
|
|
104
|
+
<h2>init</h2>
|
|
105
|
+
<blockquote>
|
|
106
|
+
<p>Initialize the package in the workspace</p>
|
|
107
|
+
</blockquote>
|
|
108
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">nx g @rxap/ngx-error:init</code></pre></div>
|
|
115
109
|
|
|
116
110
|
|
|
117
111
|
|