blob: a83c3fc953a4e5be8cecd160d3dc6afafe57ccee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef TGBOT_TGEXCEPTION_H
#define TGBOT_TGEXCEPTION_H
#include <string>
#include <stdexcept>
namespace TgBot {
/**
* @brief Exception type which is only thrown when Telegram refuses API request.
*
* @ingroup general
*/
class TgException : public std::runtime_error {
public:
explicit TgException(const std::string description);
};
}
#endif //TGBOT_TGEXCEPTION_H
|