12#ifndef HSILIBS_INCLUDE_HSILIBS_ISSUES_HPP_
13#define HSILIBS_INCLUDE_HSILIBS_ISSUES_HPP_
25 appfwk::GeneralDAQModuleIssue,
28 ((std::string)message))
32 appfwk::GeneralDAQModuleIssue,
33 "The " << queueType <<
" queue was not successfully created.",
35 ((std::string)queueType))
39 appfwk::GeneralDAQModuleIssue,
40 "Timeout waiting for the Sender for connection " << conn <<
" to be ready.",
46 " UHAL related issue: " << message,
47 ((std::string)message)
51 UHALConnectionsFileIssue,
53 " UHAL connections file issue: " << message,
54 ((std::string)message),
60 " Invalid UHAL log level supplied: " << log_level,
61 ((std::string)log_level),
67 " UHAL device name issue: " << message,
68 ((std::string)message),
74 " UHAL node issue: " << message,
75 ((std::string)message),
80 hsilibs::UHALDeviceNodeIssue,
81 " Failed to cast device " << device <<
" to type " << type <<
" where actual_type type is " << actual_type,
82 ((std::string)message),
83 ((std::string)device)((std::string)type)((std::string)actual_type))
86 FailedToCollectOpMonInfo,
87 " Failed to collect op mon info from device: " << device_name,
88 ((std::string)device_name))
90ERS_DECLARE_ISSUE(hsilibs, HardwareCommandIssue,
" Issue wih hw cmd id: " << hw_cmd_id, ((std::string)hw_cmd_id))
92ERS_DECLARE_ISSUE(hsilibs, HSIBufferIssue,
"HSI buffer in state: " << buffer_state, ((std::string)buffer_state))
97 HSIReadoutNetworkIssue,
98 hsilibs::HSIReadoutIssue,
99 "Failed to read HSI events due to network issue.",
104 InvalidTriggerRateValue,
105 " Trigger rate value " << trigger_rate <<
" invalid!",
106 ((uint64_t)trigger_rate))
109 QueueIsNullFatalError,
110 appfwk::GeneralDAQModuleIssue,
111 " Queue " << queue <<
" is null! ",
113 ((std::string)queue))
#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)