| 5678 | |
| 5679 | template<class Exception> |
| 5680 | bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, |
| 5681 | const Exception& ex) |
| 5682 | { |
| 5683 | errored = true; |
| 5684 | static_cast<void>(ex); |
| 5685 | if (allow_exceptions) |
| 5686 | { |
| 5687 | JSON_THROW(ex); |
| 5688 | } |
| 5689 | return false; |
| 5690 | } |
| 5691 | |
| 5692 | constexpr bool is_errored() const |
| 5693 | { |
nothing calls this directly
no outgoing calls
no test coverage detected