Sha256: 5833a5b596243fc7384476efb82b54a76026aaf68a0f1284c4f568dbd547a38c

Contents?: true

Size: 343 Bytes

Versions: 7

Compression:

Stored size: 343 Bytes

Contents

<?php

namespace Predis\Protocol\Text;

use Predis\ServerException;
use Predis\Protocol\IResponseHandler;
use Predis\Network\IConnectionComposable;

class ResponseErrorHandler implements IResponseHandler {
    public function handle(IConnectionComposable $connection, $errorMessage) {
        throw new ServerException($errorMessage);
    }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
appstats-0.25.1 doc/benchmarks/Predis/Protocol/Text/ResponseErrorHandler.php
appstats-0.25.0 doc/benchmarks/Predis/Protocol/Text/ResponseErrorHandler.php
appstats-0.24.0 doc/benchmarks/Predis/Protocol/Text/ResponseErrorHandler.php
appstats-0.23.5 doc/benchmarks/Predis/Protocol/Text/ResponseErrorHandler.php
appstats-0.23.4 doc/benchmarks/Predis/Protocol/Text/ResponseErrorHandler.php
appstats-0.23.3 doc/benchmarks/Predis/Protocol/Text/ResponseErrorHandler.php
appstats-0.23.2 doc/benchmarks/Predis/Protocol/Text/ResponseErrorHandler.php