@brief Emits an error with the given message. @param msg A message for the resulting error.
| 4468 | /// @brief Emits an error with the given message. |
| 4469 | /// @param msg A message for the resulting error. |
| 4470 | [[noreturn]] void emit_error(const char* msg) const { |
| 4471 | m_pos_tracker.update_position(m_cur_itr); |
| 4472 | throw fkyaml::parse_error(msg, m_pos_tracker.get_lines_read(), m_pos_tracker.get_cur_pos_in_line()); |
| 4473 | } |
| 4474 | |
| 4475 | private: |
| 4476 | /// The iterator to the first element in the input buffer. |
nothing calls this directly
no test coverage detected