Documentation

ErrorInterface extends ResponseInterface

Represents an error returned by Redis (responses identified by "-" in the Redis protocol) during the execution of an operation on the server.

Tags
author

Daniele Alessandri suppakilla@gmail.com

Table of Contents

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

Methods

getErrorType()

Returns the error type (e.g. ERR, ASK, MOVED).

public getErrorType() : string
Return values
string

getMessage()

Returns the error message.

public getMessage() : string
Return values
string

Search results