MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / JSON_CATCH

Method JSON_CATCH

Source/Utils/json.hpp:11891–11894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11889 res = std::stoull(s, &processed_chars);
11890 }
11891 JSON_CATCH(std::out_of_range&)
11892 {
11893 JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + s + "'"));
11894 }
11895
11896 // check if the string was completely read
11897 if (JSON_HEDLEY_UNLIKELY(processed_chars != s.size()))

Callers

nothing calls this directly

Calls 1

createFunction · 0.85

Tested by

no test coverage detected