MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / parse_error

Method parse_error

examples/server/json.hpp:7102–7112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7100
7101 template<class Exception>
7102 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/,
7103 const Exception& ex)
7104 {
7105 errored = true;
7106 static_cast<void>(ex);
7107 if (allow_exceptions)
7108 {
7109 JSON_THROW(ex);
7110 }
7111 return false;
7112 }
7113
7114 constexpr bool is_errored() const
7115 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected