PHP Class Predis\Response\ServerException

Author: Daniele Alessandri ([email protected])
Inheritance: extends Predis\PredisException, implements Predis\Response\ErrorInterface
Exibir arquivo Open project: tillkruss/redis-object-cache Class Usage Examples

Public Methods

Method Description
getErrorType ( ) : string Gets the type of the error returned by Redis.
toErrorResponse ( ) : Error Converts the exception to an instance of Predis\Response\Error.

Method Details

getErrorType() public method

Gets the type of the error returned by Redis.
public getErrorType ( ) : string
return string

toErrorResponse() public method

Converts the exception to an instance of Predis\Response\Error.
public toErrorResponse ( ) : Error
return Error