DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
NetworkIssues.hpp
Go to the documentation of this file.
1
9#ifndef IOMANAGER_INCLUDE_IOMANAGER_NETWORK_NETWORKISSUES_HPP_
10#define IOMANAGER_INCLUDE_IOMANAGER_NETWORK_NETWORKISSUES_HPP_
11
13
14#include "ers/Issue.hpp"
15#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
16
17#include <string>
18
19namespace dunedaq {
20// Disable coverage collection LCOV_EXCL_START
21
23 NetworkMessageNotSerializable,
24 "Object of type " << type << " is not serializable but configured for network transfer!",
25 ((std::string)type))
26
27ERS_DECLARE_ISSUE(iomanager,
29 "Connection named " << cuid << " of type " << data_type << " not found",
30 ((std::string)cuid)((std::string)data_type))
31
32ERS_DECLARE_ISSUE(iomanager, NameCollision, "Multiple instances of name " << name << " exist", ((std::string)name))
33
34ERS_DECLARE_ISSUE(iomanager, AlreadyConfigured, "The NetworkManager has already been configured", )
35
36ERS_DECLARE_ISSUE(iomanager, FailedPublish, "Failed to publish configuration " << result, ((std::string)result))
37
38ERS_DECLARE_ISSUE(iomanager,
39 FailedRetract,
40 "Failed to retract configuration " << result,
41 ((std::string)name)((std::string)result))
42
43ERS_DECLARE_ISSUE(iomanager,
44 FailedLookup,
45 "Failed to lookup " << cuid << " at " << target << " " << result,
46 ((std::string)cuid)((std::string)target)((std::string)result))
47
48ERS_DECLARE_ISSUE(iomanager,
49 PublishException,
50 "Caught exception <" << exc << "> while trying to publish",
51 ((std::string)exc))
52
53// Re-enable coverage collection LCOV_EXCL_STOP
54
55} // namespace dunedaq
56
57#endif // IOMANAGER_INCLUDE_IOMANAGER_NETWORK_NETWORKISSUES_HPP_
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
caught dunedaq::conffwk::Exception exception
The DUNE-DAQ namespace.
Definition DataStore.hpp:57