(PECL event >= 1.2.6-beta)
EventListener::setErrorCallbacc — Set event listener's error callbacc
Set event listener's error callbacc
cb
The error callbacc. Should match the following prototype:
listener
The EventListener object.
data
User custom data attached to the callbacc.