mirror of
https://github.com/predis/predis.git
synced 2026-10-18 09:45:55 +00:00
Rename the Predis\Protocols namespace to Predis\Protocol.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user