| 6919 | |
| 6920 | template<class Exception> |
| 6921 | bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, |
| 6922 | const Exception& ex) |
| 6923 | { |
| 6924 | errored = true; |
| 6925 | static_cast<void>(ex); |
| 6926 | if (allow_exceptions) |
| 6927 | { |
| 6928 | JSON_THROW(ex); |
| 6929 | } |
| 6930 | return false; |
| 6931 | } |
| 6932 | |
| 6933 | constexpr bool is_errored() const |
| 6934 | { |
nothing calls this directly
no outgoing calls
no test coverage detected