DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Issues.hpp
Go to the documentation of this file.
1
9#ifndef OPMONLIB_INCLUDE_OPMONLIB_ISSUES_HPP_
10#define OPMONLIB_INCLUDE_OPMONLIB_ISSUES_HPP_
11
12#include <ers/Issue.hpp>
13#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
14#include <string>
15
16namespace dunedaq {
17
19 OpmonServiceCreationFailed,
20 "OpmonServiceCreationFailed: " << error,
21 ((std::string)error)
22 ) ;
23
25 OpMonFacilityCreationFailed,
26 "Facility " << type << ": creation failed",
27 ((std::string)type)
28 ) ;
29
31 OpMonFacilityCreationFailedWithCause,
32 opmonlib::OpMonFacilityCreationFailed,
33 "Facility " << type << ": creation failed because " << cause_message,
34 ((std::string)type),
35 ((std::string)cause_message)
36 )
37
38
39} // namespace dunedaq
40
41#endif // OPMONLIB_INCLUDE_OPMONLIB_ISSUES_HPP_
#define ERS_DECLARE_ISSUE_BASE(namespace_name, class_name, base_class_name, message, base_attributes, attributes)
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
Including Qt Headers.
Factory couldn t std::string alg_name Invalid configuration error
Definition Issues.hpp:34