|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
An error frame from the server, or a problem the client found itself. More...
#include <kalshi/websocket.hpp>
Public Attributes | |
| std::int64_t | code {0} |
Kalshi's error code (see ws::error_code_name), or 0 for a client error. | |
| std::string | message |
| std::optional< std::int64_t > | id |
| The command that failed, when the server names one. | |
| std::optional< std::int64_t > | sid |
| std::optional< std::int64_t > | seq |
| std::optional< ws::Subscription > | subscription |
| The subscription the error concerns, when known. | |
An error frame from the server, or a problem the client found itself.
| std::int64_t kalshi::WsError::code {0} |
Kalshi's error code (see ws::error_code_name), or 0 for a client error.
| std::string kalshi::WsError::message |
| std::optional<std::int64_t> kalshi::WsError::id |
The command that failed, when the server names one.
| std::optional<std::int64_t> kalshi::WsError::sid |
| std::optional<std::int64_t> kalshi::WsError::seq |
| std::optional<ws::Subscription> kalshi::WsError::subscription |
The subscription the error concerns, when known.