MCPcopy Create free account
hub / github.com/FeJQ/AUPK / JSON_CATCH

Method JSON_CATCH

art/runtime/json.hpp:12230–12233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12228 res = std::stoull(s, &processed_chars);
12229 }
12230 JSON_CATCH(std::out_of_range&)
12231 {
12232 JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + s + "'", BasicJsonType()));
12233 }
12234
12235 // check if the string was completely read
12236 if (JSON_HEDLEY_UNLIKELY(processed_chars != s.size()))

Callers

nothing calls this directly

Calls 1

createFunction · 0.85

Tested by

no test coverage detected