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



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

Defined in: [src/index.ts:370](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/index.ts#L370)

Remove a previously registered error handler.

Parameters [#parameters]

handler [#handler]

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

Returns [#returns]

`void`
