MCPcopy Index your code
hub / github.com/Kitware/CMake / Error

Class Error

Source/cmJSONState.h:38–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 void pop_stack();
37
38 class Error
39 {
40 public:
41 Error(Location loc, std::string errMsg)
42 : location(loc)
43 , message(std::move(errMsg)) {};
44 Error(std::string errMsg)
45 : location({ -1, -1 })
46 , message(std::move(errMsg)) {};
47 std::string GetErrorMessage() const { return message; }
48 Location GetLocation() const { return location; }
49
50 private:
51 Location location;
52 std::string message;
53 };
54
55 std::vector<JsonPair> parseStack;
56 std::vector<Error> errors;

Callers 15

AddSourceGroupMethod · 0.70
cmMakefile.cxxFile · 0.70
ConfigureFileMethod · 0.70
ComputeLinkClosureMethod · 0.70
addObjectMethod · 0.70
CreateBuildSettingsMethod · 0.70
AddDependTargetMethod · 0.70

Calls

no outgoing calls

Tested by 6

SetArgsFromPresetMethod · 0.56
RunMethod · 0.56
SetParallelLevelMethod · 0.40
SetTestLoadMethod · 0.40
ReadInScriptMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…