tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
#include <cpr/status_codes.h>
#include <stdexcept>
#include <string>
Go to the source code of this file.
Classes | |
class | tgbotxx::Exception |
tgbotxx::Exception More... | |
Namespaces | |
tgbotxx | |
Enumerations | |
enum class | tgbotxx::ErrorCode : std::int32_t { tgbotxx::OTHER = 0 , tgbotxx::SEE_OTHER = cpr::status::HTTP_SEE_OTHER , tgbotxx::BAD_REQUEST = cpr::status::HTTP_BAD_REQUEST , tgbotxx::UNAUTHORIZED = cpr::status::HTTP_UNAUTHORIZED , tgbotxx::FORBIDDEN = cpr::status::HTTP_FORBIDDEN , tgbotxx::NOT_FOUND = cpr::status::HTTP_NOT_FOUND , tgbotxx::NOT_ACCEPTABLE = cpr::status::HTTP_NOT_ACCEPTABLE , tgbotxx::FLOOD = 420 , tgbotxx::CONFLICT = cpr::status::HTTP_CONFLICT , tgbotxx::TOO_MANY_REQUESTS = cpr::status::HTTP_TOO_MANY_REQUESTS , tgbotxx::BAD_GATEWAY = cpr::status::HTTP_BAD_GATEWAY , tgbotxx::INTERNAL = cpr::status::HTTP_INTERNAL_SERVER_ERROR } |
https://core.telegram.org/api/errors More... | |
Functions | |
static std::ostream & | tgbotxx::operator<< (std::ostream &os, const ErrorCode &errorCode) noexcept |
static bool | tgbotxx::isErrorCode (std::int32_t c) noexcept |