@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
78 lines (39 loc) • 2.09 kB
Markdown
[**/ngx-error v19.0.3**](../README.md)
***
[/ngx-error](../globals.md) / AngularErrorComponent
# Class: AngularErrorComponent
Defined in: [error/angular-error.component.ts:21](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error/angular-error.component.ts#L21)
## Implements
- [`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md)\<[`AngularErrorDialogData`](../interfaces/AngularErrorDialogData.md)\>
## Constructors
### new AngularErrorComponent()
> **new AngularErrorComponent**(): [`AngularErrorComponent`](AngularErrorComponent.md)
#### Returns
[`AngularErrorComponent`](AngularErrorComponent.md)
## Properties
### error
> `readonly` **error**: [`AngularErrorDialogData`](../interfaces/AngularErrorDialogData.md)
Defined in: [error/angular-error.component.ts:23](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error/angular-error.component.ts#L23)
#### Implementation of
[`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md).[`error`](../interfaces/IErrorDialogComponent.md#error)
## Accessors
### hasContexts
#### Get Signature
> **get** **hasContexts**(): `boolean`
Defined in: [error/angular-error.component.ts:29](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error/angular-error.component.ts#L29)
##### Returns
`boolean`
***
### hasExtra
#### Get Signature
> **get** **hasExtra**(): `boolean`
Defined in: [error/angular-error.component.ts:33](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error/angular-error.component.ts#L33)
##### Returns
`boolean`
***
### hasTags
#### Get Signature
> **get** **hasTags**(): `boolean`
Defined in: [error/angular-error.component.ts:25](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error/angular-error.component.ts#L25)
##### Returns
`boolean`