src/Adapters/Memcached.php
protected function throwExceptionOnClientCallFailure($result)
    {
        if ($result !== false) {
            return;
        }

        throw new OperationFailed(
            $this->client->getResultMessage(),
            $this->client->getResultCode()
        );
    }
protected function throwExceptionOnClientCallFailure($result)
    {
        if ($result !== false) {
            return;
        }

        throw new OperationFailed(
            $this->client->getResultMessage(),
            $this->client->getResultCode()
        );
    }
protected function throwExceptionOnClientCallFailure ( $ result ) { if ( $ result !== false ) { return ; } throw new OperationFailed ( $ this -> client -> getResultMessage ( ) , $ this -> client -> getResultCode ( ) ) ; }
Will throw an exception if the returned result from a Memcached call
indicates a failure in the operation.
The exception will contain debug information about the failure.

@param mixed $result

@throws OperationFailed
Will throw an exception if the returned result from a Memcached call indicates a failure in the operation . The exception will contain debug information about the failure .