[@rxap/ngx-error](../wiki/globals) / ErrorInterceptorOptions

# Interface: ErrorInterceptorOptions

Defined in: [error-interceptor-options.ts:11](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-interceptor-options.ts#L11)

## Properties

### extractErrorCode()?

> `optional` **extractErrorCode**: (`error`) => `null` \| `string` \| `number`

Defined in: [error-interceptor-options.ts:12](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-interceptor-options.ts#L12)

#### Parameters

##### error

`HttpErrorResponse`

#### Returns

`null` \| `string` \| `number`

***

### filter?

> `optional` **filter**: (`error`) => `boolean`[]

Defined in: [error-interceptor-options.ts:13](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/error-interceptor-options.ts#L13)

#### Parameters

##### error

`HttpErrorResponse`

#### Returns

`boolean`
