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

Function parse_error

examples/server/json.hpp:6852–6862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6850
6851 template<class Exception>
6852 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/,
6853 const Exception& ex)
6854 {
6855 errored = true;
6856 static_cast<void>(ex);
6857 if (allow_exceptions)
6858 {
6859 JSON_THROW(ex);
6860 }
6861 return false;
6862 }
6863
6864 constexpr bool is_errored() const
6865 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected