PHP Class Predis\Response\Error

Author: Daniele Alessandri ([email protected])
Inheritance: implements Predis\Response\ErrorInterface
Show file Open project: tillkruss/redis-object-cache Class Usage Examples

Public Methods

Method Description
__construct ( string $message )
__toString ( ) : string Converts the object to its string representation.
getErrorType ( )
getMessage ( )

Method Details

__construct() public method

public __construct ( string $message )
$message string Error message returned by Redis

__toString() public method

Converts the object to its string representation.
public __toString ( ) : string
return string

getErrorType() public method

public getErrorType ( )

getMessage() public method

public getMessage ( )