Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
cpr::Error Class Reference

#include <error.h>

Public Member Functions

 Error ()
 
template<typename TextType >
 Error (const std::int32_t &curl_code, TextType &&p_error_message)
 
 operator bool () const
 

Public Attributes

ErrorCode code
 
std::string message
 

Static Private Member Functions

static ErrorCode getErrorCodeForCurlError (std::int32_t curl_code)
 

Detailed Description

Definition at line 32 of file error.h.

Constructor & Destructor Documentation

cpr::Error::Error ( )
inline

Definition at line 34 of file error.h.

template<typename TextType >
cpr::Error::Error ( const std::int32_t &  curl_code,
TextType &&  p_error_message 
)
inline

Definition at line 37 of file error.h.

Member Function Documentation

ErrorCode cpr::Error::getErrorCodeForCurlError ( std::int32_t  curl_code)
staticprivate

Definition at line 7 of file error.cpp.

cpr::Error::operator bool ( ) const
inlineexplicit

Definition at line 40 of file error.h.

Member Data Documentation

ErrorCode cpr::Error::code

Definition at line 44 of file error.h.

std::string cpr::Error::message

Definition at line 45 of file error.h.


The documentation for this class was generated from the following files:


rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:18