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

***

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

# Class: `abstract` ErrorCaptureService\<Error\>

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

## Extended by

- [`AngularErrorService`](AngularErrorService.md)
- [`AnyHttpErrorService`](AnyHttpErrorService.md)

## Type Parameters

• **Error** = `any`

## Constructors

### new ErrorCaptureService()

> **new ErrorCaptureService**\<`Error`\>(): [`ErrorCaptureService`](ErrorCaptureService.md)\<`Error`\>

#### Returns

[`ErrorCaptureService`](ErrorCaptureService.md)\<`Error`\>

## Properties

### component

> `abstract` `protected` `readonly` **component**: `ComponentType`\<[`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md)\<`any`\>\>

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

## Methods

### compare()

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

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

#### Parameters

##### a

`Error`

##### b

`Error`

#### Returns

`boolean`

***

### 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

`Error`

#### Returns

`void`
