ErrorInterface
extends
ResponseInterface
in
Represents an error returned by Redis (responses identified by "-" in the Redis protocol) during the execution of an operation on the server.
Tags
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