8#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_FRAMEERRORREGISTRY_HPP_
9#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_FRAMEERRORREGISTRY_HPP_
20namespace datahandlinglibs {
61 if (
ts > it->second.end_ts) {
62 std::string error_name = it->first;
73 for (
const auto& [error_name, _] :
m_errors) {
std::optional< std::string > m_ers_metadata
void log_registered_errors()
void remove_errors_until(uint64_t ts)
std::mutex m_error_map_mutex
bool has_error(std::string error_name)
void set_ers_metadata(const std::string &ers_metadata)
void add_error(std::string error_name, ErrorInterval error)
std::map< std::string, ErrorInterval > m_errors
PDS Frame with unphysical timestamp detected with ts
void warning(const Issue &issue)
void info(const Issue &issue)
bool operator>(const ErrorInterval &other) const
bool operator<(const ErrorInterval &other) const
ErrorInterval(uint64_t start_ts, uint64_t end_ts)
Factory couldn t std::string alg_name Invalid configuration error