A Redis library for Arduino.
Public Member Functions | List of all members
RedisInternalError Class Reference

Detailed Description

An internal API error. Call RESP() to get the error string.

Definition at line 122 of file RedisInternal.h.

Public Member Functions

 RedisInternalError (String err)
 RedisInternalError (const char *err)
virtual String RESP () override
- Public Member Functions inherited from RedisObject
 RedisObject (Type tc)
 RedisObject (Type tc, Client &c)
virtual void init (Client &client)
virtual operator String ()
Type type () const

Additional Inherited Members

- Public Types inherited from RedisObject
enum  Type {
  NoType = '\0', SimpleString = '+', Error = '-', Integer = ':',
  BulkString = '$', Array = '*', InternalError = '!'
- Static Public Member Functions inherited from RedisObject
static std::shared_ptr< RedisObjectparseType (Client &)
- Protected Attributes inherited from RedisObject
String data
Type _type = Type::NoType

#include <RedisInternal.h>

Inheritance diagram for RedisInternalError:
Inheritance graph

Member Function Documentation

◆ RESP()

virtual String RedisInternalError::RESP ( )

Produce the Redis serialization protocol (RESP) representation. Must be overridden.

Implements RedisObject.

Definition at line 129 of file RedisInternal.h.