MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / parse_error

Method parse_error

lesson6-Segmentation/json.hpp:5441–5451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5439
5440 template<class Exception>
5441 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/,
5442 const Exception& ex)
5443 {
5444 errored = true;
5445 static_cast<void>(ex);
5446 if (allow_exceptions)
5447 {
5448 JSON_THROW(ex);
5449 }
5450 return false;
5451 }
5452
5453 constexpr bool is_errored() const
5454 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected