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