MCPcopy Create free account
hub / github.com/Kitware/CMake / Error

Class Error

Utilities/cmcppdap/include/dap/session.h:38–47  ·  view source on GitHub ↗

Error represents an error message in response to a DAP request.

Source from the content-addressed store, hash-verified

36
37// Error represents an error message in response to a DAP request.
38struct Error {
39 Error() = default;
40 Error(const std::string& error);
41 Error(const char* msg, ...);
42
43 // operator bool() returns true if there is an error.
44 inline operator bool() const { return message.size() > 0; }
45
46 std::string message; // empty represents success.
47};
48
49////////////////////////////////////////////////////////////////////////////////
50// ResponseOrError<T>

Callers 4

sendMethod · 0.70
TEST_FFunction · 0.50
requestCMethod · 0.50
processResponseMethod · 0.50

Calls 1

sizeMethod · 0.45

Tested by 2

TEST_FFunction · 0.40
requestCMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…