src/Connection/Aggregate/SentinelReplication.php
private function handleSentinelErrorResponse(NodeConnectionInterface $sentinel, ErrorResponseInterface $error)
    {
        if ($error->getErrorType() === 'IDONTKNOW') {
            throw new ConnectionException($sentinel, $error->getMessage());
        } else {
            throw new ServerException($error->getMessage());
        }
    }
private function handleSentinelErrorResponse(NodeConnectionInterface $sentinel, ErrorResponseInterface $error)
    {
        if ($error->getErrorType() === 'IDONTKNOW') {
            throw new ConnectionException($sentinel, $error->getMessage());
        } else {
            throw new ServerException($error->getMessage());
        }
    }
private function handleSentinelErrorResponse ( NodeConnectionInterface $ sentinel , ErrorResponseInterface $ error ) { if ( $ error -> getErrorType ( ) === 'IDONTKNOW' ) { throw new ConnectionException ( $ sentinel , $ error -> getMessage ( ) ) ; } else { throw new ServerException ( $ error -> getMessage ( ) ) ; } }
Handles error responses returned by redis-sentinel.

@param NodeConnectionInterface $sentinel Connection to a sentinel server.
@param ErrorResponseInterface  $error    Error response.
Handles error responses returned by redis - sentinel .