Predis\Connection\AbstractConnection::onConnectionError PHP 메소드

onConnectionError() 보호된 메소드

Helper method to handle connection errors.
protected onConnectionError ( string $message, integer $code = null )
$message string Error message.
$code integer Error code.
    protected function onConnectionError($message, $code = null)
    {
        CommunicationException::handle(new ConnectionException($this, "{$message} [{$this->getParameters()}]", $code));
    }