|
Arduino-Redis
A Redis library for Arduino.
|
An internal API error. Call RESP() to get the error string.
Definition at line 133 of file RedisInternal.h.
Public Types | |
| enum | RedisInternalErrorCode { UnknownError = -254, UnknownType, Disconnected, NoError = 0 } |
Public Types inherited from RedisObject | |
| enum | Type { NoType = '\0', SimpleString = '+', Error = '-', Integer = ':', BulkString = '$', Array = '*', InternalError = '!' } |
Public Member Functions | |
| RedisInternalError (RedisInternalErrorCode c) | |
| RedisInternalError (RedisInternalErrorCode c, String es) | |
| ~RedisInternalError () override | |
| RedisInternalErrorCode | code () |
| void | setErrorString (String es) |
| virtual String | RESP () override |
Public Member Functions inherited from RedisObject | |
| RedisObject () | |
| RedisObject (Type tc) | |
| RedisObject (Type tc, Client &c) | |
| virtual | ~RedisObject () |
| virtual void | init (Client &client) |
| virtual | operator String () |
| Type | type () const |
Protected Attributes | |
| RedisInternalErrorCode | _code |
Protected Attributes inherited from RedisObject | |
| String | data |
| Type | _type = Type::NoType |
Additional Inherited Members | |
Static Public Member Functions inherited from RedisObject | |
| static std::shared_ptr< RedisObject > | parseTypeNonBlocking (Client &) |
| static std::shared_ptr< RedisObject > | parseType (Client &) |
#include <RedisInternal.h>

| Enumerator | |
|---|---|
| UnknownError | |
| UnknownType | |
| Disconnected | |
| NoError | |
Definition at line 136 of file RedisInternal.h.
|
inline |
Definition at line 144 of file RedisInternal.h.
|
inline |
Definition at line 145 of file RedisInternal.h.
|
inlineoverride |
Definition at line 146 of file RedisInternal.h.
|
inline |
Definition at line 148 of file RedisInternal.h.
|
inlineoverridevirtual |
Produce the Redis serialization protocol (RESP) representation. Must be overridden.
Implements RedisObject.
Definition at line 151 of file RedisInternal.h.
|
inline |
Definition at line 149 of file RedisInternal.h.
|
protected |
Definition at line 154 of file RedisInternal.h.
1.8.17