yatbcpp
0.0.1
Yet another Telegram Bot CPP Library
inc
exceptions
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
yatbcpp::curl_error::operator<<
friend std::ostream & operator<<(std::ostream &o, const curl_error &U)
Definition:
curl_error_ostream.cc:9
yatbcpp::curl_error
Definition:
curl_error.h:12
yatbcpp::curl_error::message
std::string message
Definition:
curl_error.h:19
yatbcpp
Definition:
Bot.h:27
yatbcpp::curl_error::errorcode
int errorcode
Definition:
curl_error.h:18
yatbcpp::curl_error::curl_error
curl_error(int errorcode, std::string message)
Definition:
curl_error.cc:9
Generated by
1.8.13