PHP Class Predis\Response\ServerException

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

Méthodes publiques

Méthode 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 méthode

Gets the type of the error returned by Redis.
public getErrorType ( ) : string
Résultat string

toErrorResponse() public méthode

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