ServerException
extends PredisException
in package
implements
ErrorInterface
Exception class that identifies server-side Redis errors.
Tags
Interfaces, Classes and Traits
- ErrorInterface
- Represents an error returned by Redis (responses identified by "-" in the Redis protocol) during the execution of an operation on the server.
Table of Contents
- getErrorType() : string
- Gets the type of the error returned by Redis.
- toErrorResponse() : Error
- Converts the exception to an instance of Predis\Response\Error.
Methods
getErrorType()
Gets the type of the error returned by Redis.
public
getErrorType() : string
Return values
string —toErrorResponse()
Converts the exception to an instance of Predis\Response\Error.
public
toErrorResponse() : Error