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

Class json_error

Source/cmStringCommand.cxx:804–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802};
803
804class json_error : public std::runtime_error
805{
806public:
807 json_error(std::string const& message,
808 cm::optional<Args> errorPath = cm::nullopt)
809 : std::runtime_error(message)
810 , ErrorPath{
811 std::move(errorPath) // NOLINT(performance-move-const-arg)
812 }
813 {
814 }
815 cm::optional<Args> ErrorPath;
816};
817
818std::string const& Args::PopFront(cm::string_view error)
819{

Callers 5

JsonTypeToStringFunction · 0.85
ParseIndexFunction · 0.85
ReadJsonFunction · 0.85
HandleJSONCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…