#ifndef TGBOT_TGEXCEPTION_H #define TGBOT_TGEXCEPTION_H #include "tgbot/export.h" #include #include namespace TgBot { /** * @brief Exception type which is only thrown when Telegram refuses API request. * * @ingroup general */ class TGBOT_API TgException : public std::runtime_error { public: explicit TgException(const std::string& description); }; } #endif //TGBOT_TGEXCEPTION_H