14 #ifndef ZYPP_NG_MEDIA_CURL_PRIVATE_NETWORKREQUESTERROR_P_H_INCLUDED 15 #define ZYPP_NG_MEDIA_CURL_PRIVATE_NETWORKREQUESTERROR_P_H_INCLUDED static zyppng::NetworkRequestError fromCurlMError(int nativeCode)
NetworkRequestError::Type _errorCode
static std::string typeToString(NetworkRequestError::Type t)
static zyppng::NetworkRequestError fromCurlError(NetworkRequest &req, int nativeCode, const std::string &nativeError)
NetworkRequestErrorPrivate(NetworkRequestError::Type code, std::string &&msg, std::map< std::string, boost::any > &&extraInfo)
The NetworkRequestError class Represents a error that occured in.
std::string _errorMessage
NetworkRequestErrorPrivate * clone() const
static zyppng::NetworkRequestError customError(NetworkRequestError::Type t, std::string &&errorMsg="", std::map< std::string, boost::any > &&extraInfo={})
std::map< std::string, boost::any > _extraInfo