DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Issues.hpp
Go to the documentation of this file.
1
8#ifndef RESTCMD_INCLUDE_RESTCMD_ISSUES_HPP_
9#define RESTCMD_INCLUDE_RESTCMD_ISSUES_HPP_
10
11#include "ers/Issue.hpp"
12#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
13#include <string>
14
15namespace dunedaq {
16
20
21ERS_DECLARE_ISSUE(restcmd, EnvVarNotFound, "The environment variable wasn't set " << env_var, ((std::string)env_var))
22
23} // namespace dunedaq
24
25#endif // RESTCMD_INCLUDE_RESTCMD_ISSUES_HPP_
The DUNE-DAQ namespace.
ERS_DECLARE_ISSUE(cibmodules, CIBCommunicationError, " CIB Hardware Communication Error: "<< descriptor,((std::string) descriptor)) ERS_DECLARE_ISSUE(cibmodules