public handleError ( Kraken\Ipc\Socket\SocketInterface $socket, Erro\Error | Exceptio\Exception $ex ) | ||
$socket | Kraken\Ipc\Socket\SocketInterface | |
$ex | Erro\Error | Exceptio\Exception |
public function handleError($socket, $ex)
{
try {
$this->component->handleError($socket->conn, $ex);
} catch (Error $ex) {
$this->close($socket);
} catch (Exception $ex) {
$this->close($socket);
}
}