boost_redis 1.4.2
A redis client library
boost::redis::adapter::error Struct Reference

Stores any resp3 error. More...

#include <include/boost/redis/adapter/result.hpp>

Public Attributes

resp3::type data_type = resp3::type::invalid
 RESP3 error data type.
 
std::string diagnostic
 Diagnostic error message sent by Redis.
 

Related Functions

(Note that these are not member functions.)

bool operator!= (error const &a, error const &b)
 Compares two error objects for difference. More...
 
bool operator== (error const &a, error const &b)
 Compares two error objects for equality. More...
 

Detailed Description

Stores any resp3 error.

Definition at line 22 of file result.hpp.

Friends And Related Function Documentation

◆ operator!=()

bool operator!= ( error const &  a,
error const &  b 
)
related

Compares two error objects for difference.

Parameters
aLeft hand side error object.
bRight hand side error object.

Definition at line 47 of file result.hpp.

◆ operator==()

bool operator== ( error const &  a,
error const &  b 
)
related

Compares two error objects for equality.

Parameters
aLeft hand side error object.
bRight hand side error object.

Definition at line 36 of file result.hpp.


The documentation for this struct was generated from the following file: