[**realue**](../README.md) • **Docs**

***

[realue](../README.md) / ErrorUpdater

# Type Alias: ErrorUpdater()\<E\>

> **ErrorUpdater**\<`E`\>: (`error`) => `void`

Function that sets an `error`.

## Type Parameters

• **E** *extends* [`ErrorReport`](ErrorReport.md)\<`any`\>

## Parameters

• **error**: `E` \| `undefined`

## Returns

`void`

## Defined in

[lib/types/ErrorUpdater.ts:6](https://github.com/nevoland/realue/blob/10b81dd410f087c06fbf8ea8b1c227058ff70751/lib/types/ErrorUpdater.ts#L6)
