18 : runtime_error(
"Hypothesis between set of nodes was not found")
28 m_msg = std::runtime_error::what();
31 format(
"[from] %lu ==> ", static_cast<unsigned long>(
m_from)).c_str();
36 : runtime_error(
"Hypothesis with the given ID was not found")
43 m_msg = std::runtime_error::what();
44 m_msg +=
format(
"- ID:%lu", static_cast<unsigned long>(
id)).c_str();
const char * what() const noexcept override
mrpt::graphs::TNodeID m_to
std::string std::string format(std::string_view fmt, ARGS &&... args)
std::string getErrorMsg() const noexcept
Abstract graph and tree data structures, plus generic graph algorithms.
~HypothesisNotFoundException() noexcept override
std::string m_msg
Error message.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities.
HypothesisNotFoundException(mrpt::graphs::TNodeID from, mrpt::graphs::TNodeID to)
mrpt::graphs::TNodeID m_from
size_t m_id
Hypothesis ID.
std::string persistent_error_msg