[**@rxap/ngx-error v19.2.0**](../README.md)

***

[@rxap/ngx-error](../globals.md) / AngularErrorService

# Class: AngularErrorService

Defined in: [error/angular-error.service.ts:7](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/error/angular-error.service.ts#L7)

## Extends

- [`ErrorCaptureService`](ErrorCaptureService.md)\<[`AngularErrorDialogData`](../interfaces/AngularErrorDialogData.md)\>

## Constructors

### new AngularErrorService()

> **new AngularErrorService**(): [`AngularErrorService`](AngularErrorService.md)

#### Returns

[`AngularErrorService`](AngularErrorService.md)

#### Inherited from

[`ErrorCaptureService`](ErrorCaptureService.md).[`constructor`](ErrorCaptureService.md#constructors)

## Properties

### component

> `protected` `readonly` **component**: *typeof* [`AngularErrorComponent`](AngularErrorComponent.md) = `AngularErrorComponent`

Defined in: [error/angular-error.service.ts:9](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/error/angular-error.service.ts#L9)

#### Overrides

[`ErrorCaptureService`](ErrorCaptureService.md).[`component`](ErrorCaptureService.md#component)

## Methods

### compare()

> **compare**(`a`, `b`): `boolean`

Defined in: [error/angular-error.service.ts:11](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/error/angular-error.service.ts#L11)

#### Parameters

##### a

[`AngularErrorDialogData`](../interfaces/AngularErrorDialogData.md)

##### b

[`AngularErrorDialogData`](../interfaces/AngularErrorDialogData.md)

#### Returns

`boolean`

#### Overrides

[`ErrorCaptureService`](ErrorCaptureService.md).[`compare`](ErrorCaptureService.md#compare)

***

### push()

> **push**(`error`): `void`

Defined in: [error-capture.service.ts:23](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/error-capture.service.ts#L23)

#### Parameters

##### error

[`AngularErrorDialogData`](../interfaces/AngularErrorDialogData.md)

#### Returns

`void`

#### Inherited from

[`ErrorCaptureService`](ErrorCaptureService.md).[`push`](ErrorCaptureService.md#push)
