An error frame from the server, or a problem the client found itself.
More...
#include <kalshi/websocket.hpp>
|
| 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.
|
| |
| std::optional< std::int64_t > | sending_ts_ms |
| |
An error frame from the server, or a problem the client found itself.
◆ code
| std::int64_t kalshi::WsError::code {0} |
◆ message
| std::string kalshi::WsError::message |
◆ id
| std::optional<std::int64_t> kalshi::WsError::id |
The command that failed, when the server names one.
◆ sid
| std::optional<std::int64_t> kalshi::WsError::sid |
◆ seq
| std::optional<std::int64_t> kalshi::WsError::seq |
◆ subscription
The subscription the error concerns, when known.
◆ sending_ts_ms
| std::optional<std::int64_t> kalshi::WsError::sending_ts_ms |
The documentation for this struct was generated from the following file: