yatbcpp  0.0.1
Yet another Telegram Bot CPP Library
telegram_api_error.h
Go to the documentation of this file.
1 //
2 // Created by norbert on 22.08.17.
3 //
4 
5 #ifndef YATBCPP_TELEGRAM_API_ERROR_H
6 #define YATBCPP_TELEGRAM_API_ERROR_H
7 
8 #include <ostream>
9 #include <string>
10 
11 namespace yatbcpp{
13  public:
14  telegram_api_error(int errorcode, std::string message);
15  friend std::ostream& operator<< (std::ostream& o, const telegram_api_error& U);
16  friend std::ostream& operator<< (std::ostream& o, const telegram_api_error* U);
17  private:
18  int errorcode;
19  std::string message;
20  };
21 }
22 
23 #endif //YATBCPP_TELEGRAM_API_ERROR_H
Definition: Bot.h:27
telegram_api_error(int errorcode, std::string message)
friend std::ostream & operator<<(std::ostream &o, const telegram_api_error &U)