boost::redis::error
Generic errors.
Synopsis
Declared in <boost/redis/error.hpp>
enum class error : int;
Members
Name |
Description |
|
Invalid RESP3 type. |
|
Can't parse the string as a number. |
|
The maximum depth of a nested response was exceeded. |
|
Got non boolean value. |
|
Expected field value is empty. |
|
Expects a simple RESP3 type but got an aggregate. |
|
Expects aggregate. |
|
Expects a map but got other aggregate. |
|
Expects a set aggregate but got something else. |
|
Nested response not supported. |
|
Got RESP3 simple error. |
|
Got RESP3 blob_error. |
|
Aggregate container has incompatible size. |
|
Not a double |
|
Got RESP3 null. |
|
There is no stablished connection. |
|
Resolve timeout |
|
Connect timeout |
|
The server didn't answer the health checks on time and didn't send any data during the health check period. |
|
SSL handshake timeout |
|
(Deprecated) Can't receive push synchronously without blocking |
|
Incompatible node depth. |
|
The setup request sent during connection establishment failed (the name is historical). |
|
The configuration specified a UNIX socket address, but UNIX sockets are not supported by the system. |
|
The configuration specified UNIX sockets with SSL, which is not supported. |
|
Reading data from the socket would exceed the maximum size allowed of the read buffer. |
|
Timeout while writing data to the server. |
|
The configuration specified UNIX sockets with Sentinel, which is not supported. |
|
No Sentinel could be used to obtain the address of the Redis server. Sentinels might be unreachable, have authentication misconfigured or may not know about the configured master. Turn logging on for details. |
|
The contacted server is not a master as expected. This is likely a transient failure caused by a Sentinel failover in progress. |
|
Expects a RESP3 string, but got a different data type. |
|
Expects a RESP3 array, but got a different data type. |
Non-Member Functions
Name |
Description |
Creates a error_code object from an error. |
Created with MrDocs