Set event listener's error callback
$cb
cb
The error callback. Should match the following prototype:
$listener
null
$data
listener
The EventListener object.
data
User custom data attached to the callback.