MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / emit_error

Method emit_error

example/cacheHierarchy/fkYAML/node.hpp:4470–4473  ·  view source on GitHub ↗

@brief Emits an error with the given message. @param msg A message for the resulting error.

Source from the content-addressed store, hash-verified

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
4475private:
4476 /// The iterator to the first element in the input buffer.

Callers

nothing calls this directly

Calls 1

parse_errorClass · 0.85

Tested by

no test coverage detected