PHP Interface Predis\Response\ErrorInterface

Author: Daniele Alessandri ([email protected])
Inheritance: extends ResponseInterface
Datei anzeigen Open project: tillkruss/redis-object-cache Interface Usage Examples

Public Methods

Method Description
getErrorType ( ) : string Returns the error type (e.g. ERR, ASK, MOVED).
getMessage ( ) : string Returns the error message.

Method Details

getErrorType() public method

Returns the error type (e.g. ERR, ASK, MOVED).
public getErrorType ( ) : string
return string

getMessage() public method

Returns the error message.
public getMessage ( ) : string
return string