Line data Source code
1 : /**
2 : * @file SSPIssues.hpp SSP related ERS issues
3 : *
4 : * This is part of the DUNE DAQ , copyright 2021.
5 : * Licensing/copyright details are in the COPYING file that you should have
6 : * received with this code.
7 : */
8 : #ifndef SSPMODULES_SRC_SSPISSUES_HPP_
9 : #define SSPMODULES_SRC_SSPISSUES_HPP_
10 :
11 : #include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
12 : #include <ers/Issue.hpp>
13 :
14 : #include <string>
15 :
16 : namespace dunedaq {
17 :
18 0 : ERS_DECLARE_ISSUE(sspmodules, ConfigurationError, "SSP Configuration Error: " << conferror, ((std::string)conferror))
19 :
20 0 : ERS_DECLARE_ISSUE(sspmodules, FailedLEDCalibrationInit, "LED calibration failed to initialize", ERS_EMPTY)
21 :
22 0 : ERS_DECLARE_ISSUE(sspmodules, FailedLEDCalibrationConf, "LED calibration failed to configure", ERS_EMPTY)
23 :
24 0 : ERS_DECLARE_ISSUE(sspmodules, DeviceInterfacePDTSStatus, "Endpoint failed to reach 0x8", ERS_EMPTY)
25 :
26 : } // namespace dunedaq
27 :
28 : #endif // SSPMODULES_SRC_SSPISSUES_HPP_
|