UNPKG

@rxap/ngx-error

Version:

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

44 lines (22 loc) 1.8 kB
[**@rxap/ngx-error v19.1.0**](../README.md) *** [@rxap/ngx-error](../globals.md) / OpenApiHttpResponseErrorComponent # Class: OpenApiHttpResponseErrorComponent Defined in: [open-api-http-response-error/open-api-http-response-error.component.ts:31](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error.component.ts#L31) ## Implements - [`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md)\<[`OpenApiHttpResponseErrorDialogData`](../interfaces/OpenApiHttpResponseErrorDialogData.md)\> ## Constructors ### new OpenApiHttpResponseErrorComponent() > **new OpenApiHttpResponseErrorComponent**(): [`OpenApiHttpResponseErrorComponent`](OpenApiHttpResponseErrorComponent.md) #### Returns [`OpenApiHttpResponseErrorComponent`](OpenApiHttpResponseErrorComponent.md) ## Properties ### error > `readonly` **error**: [`OpenApiHttpResponseErrorDialogData`](../interfaces/OpenApiHttpResponseErrorDialogData.md) Defined in: [open-api-http-response-error/open-api-http-response-error.component.ts:35](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error.component.ts#L35) #### Implementation of [`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md).[`error`](../interfaces/IErrorDialogComponent.md#error) *** ### isProduction > `readonly` **isProduction**: `boolean` Defined in: [open-api-http-response-error/open-api-http-response-error.component.ts:33](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error.component.ts#L33)