Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::common::ForbiddenError Class Reference

HTTP 403. More...

#include <errors.hpp>

Inheritance diagram for binance::common::ForbiddenError:
binance::common::ConnectorError binance::common::Error

Public Member Functions

 ForbiddenError (const std::string &msg, std::optional< std::int64_t > code=std::nullopt)
Public Member Functions inherited from binance::common::ConnectorError
 ConnectorError (const std::string &what, std::string msg, std::optional< std::int64_t > code=std::nullopt)
const RawResponse * response () const noexcept
 The HTTP response that caused the error, when there was one: status, headers (e.g.
std::optional< std::chrono::seconds > retry_after () const noexcept
 The delay from the Retry-After header of a 418 / 429 response, if it has one.
Public Member Functions inherited from binance::common::Error
 Error (const std::string &what, std::string msg, std::optional< std::int64_t > code=std::nullopt)
const std::string & msg () const noexcept
std::optional< std::int64_t > code () const noexcept

Detailed Description

HTTP 403.

Constructor & Destructor Documentation

◆ ForbiddenError()

binance::common::ForbiddenError::ForbiddenError ( const std::string & msg,
std::optional< std::int64_t > code = std::nullopt )
explicit