MCPcopy Create free account
hub / github.com/chronoxor/CppServer / SetPromiseError

Method SetPromiseError

source/server/http/https_client.cpp:165–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void HTTPSClientEx::SetPromiseError(const std::string& error)
166{
167 _promise.set_exception(std::make_exception_ptr(std::runtime_error(error)));
168 _request.Clear();
169}
170
171} // namespace HTTP
172} // namespace CppServer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected