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.49 kB
[**@rxap/ngx-error v19.0.3**](../README.md) *** [@rxap/ngx-error](../globals.md) / AnyHttpErrorComponent # Class: AnyHttpErrorComponent Defined in: [any-http-error/any-http-error.component.ts:39](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error.component.ts#L39) ## Implements - [`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md)\<[`AnyHttpErrorDialogData`](../interfaces/AnyHttpErrorDialogData.md)\> ## Constructors ### new AnyHttpErrorComponent() > **new AnyHttpErrorComponent**(): [`AnyHttpErrorComponent`](AnyHttpErrorComponent.md) #### Returns [`AnyHttpErrorComponent`](AnyHttpErrorComponent.md) ## Properties ### error > `readonly` **error**: [`AnyHttpErrorDialogData`](../interfaces/AnyHttpErrorDialogData.md) Defined in: [any-http-error/any-http-error.component.ts:43](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error.component.ts#L43) #### Implementation of [`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md).[`error`](../interfaces/IErrorDialogComponent.md#error) *** ### isProduction > `readonly` **isProduction**: `boolean` Defined in: [any-http-error/any-http-error.component.ts:41](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error.component.ts#L41)