mirror of
https://github.com/predis/predis.git
synced 2026-08-25 02:49:37 +00:00
12 lines
289 B
PHP
12 lines
289 B
PHP
<?php
|
|
|
|
namespace Predis\Protocols;
|
|
|
|
use Predis\Network\IConnectionSingle;
|
|
|
|
class ResponseErrorSilentHandler implements IResponseHandler {
|
|
public function handle(IConnectionSingle $connection, $errorMessage) {
|
|
return new \Predis\ResponseError(substr($errorMessage, 4));
|
|
}
|
|
}
|