# Function: removeOnError() (/pixi-vn/index/namespaces/Game/functions/removeOnError)



\> **removeOnError**(`handler`): `void`

Defined in: [src/index.ts:491](https://github.com/DRincs-Productions/pixi-vn/blob/f55707110b4a4bd56fb1c8547285a9aea26fda31/src/index.ts#L491)

Remove a previously registered error handler.

## Parameters [#parameters]

### handler [#handler]

[`OnErrorHandler`](/pixi-vn/index/type-aliases/OnErrorHandler)

## Returns [#returns]

`void`
