kaycxx-http
HTTP client library
Loading...
Searching...
No Matches
error.hpp
1// SPDX-FileCopyrightText: 2026 Klaus Reimer <k@ailis.de>
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
6#include <stdexcept>
7#include <string>
8
9namespace kaycxx::http {
10
14class error : public std::runtime_error {
15public:
21 explicit error(std::string message);
22
24 ~error() override;
25};
26
27} // namespace kaycxx::http
~error() override
Destroys the HTTP client error.
error(std::string message)
Creates an HTTP client error.