FileAccess Orion

ServerException extends PredisException
in package
implements ErrorInterface

Exception class that identifies server-side Redis errors.

Tags
author

Daniele Alessandri suppakilla@gmail.com

Interfaces, Classes, Traits and Enums

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
Return values
Error

Search results