1#ifndef HTTP_ERROR_HPP_INCLUDED
2#define HTTP_ERROR_HPP_INCLUDED
Definition base_connection.hpp:13
Represents an HTTP or network-level error.
Definition http_error.hpp:28
int statusCode
HTTP status code (e.g. 404, 500). 0 means a network-level failure — no HTTP response was received.
Definition http_error.hpp:29
std::string message
Human-readable error description.
Definition http_error.hpp:31
std::string body
Raw response body (often contains error details for 4xx/5xx responses)
Definition http_error.hpp:30