Ejemplo n.º 1
0
 /**
  * OnError event
  * @param ConnectionInterface $conn
  * @param \Exception $e
  */
 public function onError(ConnectionInterface $conn, \Exception $e)
 {
     echo "An error has occurred: {$e->getMessage()}\n";
     $this->manager->getRouter()->error($conn, $e->getMessage());
 }