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

40 lines (20 loc) 1.78 kB
[@rxap/ngx-error](../wiki/globals) / OpenApiHttpResponseErrorComponent # Class: OpenApiHttpResponseErrorComponent Defined in: [open-api-http-response-error/open-api-http-response-error.component.ts:31](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error.component.ts#L31) ## Implements - [`IErrorDialogComponent`](../wiki/Interface.IErrorDialogComponent)\<[`OpenApiHttpResponseErrorDialogData`](../wiki/Interface.OpenApiHttpResponseErrorDialogData)\> ## Constructors ### new OpenApiHttpResponseErrorComponent() > **new OpenApiHttpResponseErrorComponent**(): [`OpenApiHttpResponseErrorComponent`](../wiki/Class.OpenApiHttpResponseErrorComponent) #### Returns [`OpenApiHttpResponseErrorComponent`](../wiki/Class.OpenApiHttpResponseErrorComponent) ## Properties ### error > `readonly` **error**: [`OpenApiHttpResponseErrorDialogData`](../wiki/Interface.OpenApiHttpResponseErrorDialogData) Defined in: [open-api-http-response-error/open-api-http-response-error.component.ts:35](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error.component.ts#L35) #### Implementation of [`IErrorDialogComponent`](../wiki/Interface.IErrorDialogComponent).[`error`](../wiki/Interface.IErrorDialogComponent#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/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/open-api-http-response-error/open-api-http-response-error.component.ts#L33)