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

***

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

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

> **ErrorMutator**\<`E`\>: (`error`, `name`?) => `void`

Function that mutates an `error`. Used as the signature for the `onChangeError` callback of the NEVO pattern.

## Type Parameters

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

## Parameters

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

• **name?**: [`Name`](Name.md)

## Returns

`void`

## Defined in

[lib/types/ErrorMutator.ts:7](https://github.com/nevoland/realue/blob/10b81dd410f087c06fbf8ea8b1c227058ff70751/lib/types/ErrorMutator.ts#L7)
