array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'gearmanclient.setexceptioncallback.php', 1 => 'GearmanClient::setExceptionCallback', ), 'up' => array ( 0 => 'class.gearmanclient.php', 1 => 'GearmanClient', ), 'prev' => array ( 0 => 'gearmanclient.setdatacallback.php', 1 => 'GearmanClient::setDataCallback', ), 'next' => array ( 0 => 'gearmanclient.setfailcallback.php', 1 => 'GearmanClient::setFailCallback', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gearman/gearmanclient/setexceptioncallback.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gearman >= 0.5.0)
GearmanClient::setExceptionCallback — Set a callback for worker exceptions
Specifies a function to call when a worker for a task sends an exception.
function
Function to call when the worker throws an exception