public function onError(ConnectionInterface $conn, \Exception $e)
    {
        $this->console->info('onError'.$e->getMessage());
    }
public function onError(ConnectionInterface $conn, \Exception $e)
    {
        $this->console->info('onError'.$e->getMessage());
    }
public function onError ( ConnectionInterface $ conn , \ Exception $ e ) { $ this -> console -> info ( 'onError' . $ e -> getMessage ( ) ) ; }
If there is an error with one of the sockets, or somewhere in the application where an Exception is thrown,
the Exception is sent back down the stack, handled by the Server and bubbled back up the application through this method.

@param ConnectionInterface $conn
@param \Exception          $e

@throws \Exception
If there is an error with one of the sockets or somewhere in the application where an Exception is thrown the Exception is sent back down the stack handled by the Server and bubbled back up the application through this method .