| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected