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 <ers/Issue.hpp>
12 : #include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
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,
21 : FailedLEDCalibrationInit,
22 : "LED calibration failed to initialize",
23 : ERS_EMPTY)
24 :
25 0 : ERS_DECLARE_ISSUE(sspmodules,
26 : FailedLEDCalibrationConf,
27 : "LED calibration failed to configure",
28 : ERS_EMPTY)
29 :
30 0 : ERS_DECLARE_ISSUE(sspmodules,
31 : DeviceInterfacePDTSStatus,
32 : "Endpoint failed to reach 0x8",
33 : ERS_EMPTY)
34 :
35 : } // namespace dunedaq
36 :
37 : #endif // SSPMODULES_SRC_SSPISSUES_HPP_
|