#pragma once #include #include #include namespace http { struct ConnectionFailed : public std::system_error { explicit ConnectionFailed() : std::system_error{errno, std::system_category()} {} }; } //namespace http