Askedio\LaravelRatchet\Pusher::onError PHP Method

onError() public method

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.
public onError ( Ratchet\ConnectionInterface $conn, Exception $e )
$conn Ratchet\ConnectionInterface
$e Exception
    public function onError(ConnectionInterface $conn, \Exception $e)
    {
        $this->console->info('onError' . $e->getMessage());
    }