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.47 kB
[@rxap/ngx-error](../wiki/globals) / 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`](../wiki/Interface.IErrorDialogComponent)\<[`AnyHttpErrorDialogData`](../wiki/Interface.AnyHttpErrorDialogData)\> ## Constructors ### new AnyHttpErrorComponent() > **new AnyHttpErrorComponent**(): [`AnyHttpErrorComponent`](../wiki/Class.AnyHttpErrorComponent) #### Returns [`AnyHttpErrorComponent`](../wiki/Class.AnyHttpErrorComponent) ## Properties ### error > `readonly` **error**: [`AnyHttpErrorDialogData`](../wiki/Interface.AnyHttpErrorDialogData) 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`](../wiki/Interface.IErrorDialogComponent).[`error`](../wiki/Interface.IErrorDialogComponent#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)