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 "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
15#include "ers/Issue.hpp"
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, ConnectionNotFound, "Connection named " << cuid << " of type " << data_type << " not found", ((std::string)cuid)((std::string)data_type))
28
29ERS_DECLARE_ISSUE(iomanager, NameCollision, "Multiple instances of name " << name << " exist", ((std::string)name))
30
31ERS_DECLARE_ISSUE(iomanager, AlreadyConfigured, "The NetworkManager has already been configured", )
32
33ERS_DECLARE_ISSUE(iomanager, EnvNotFound, "Environment variable " << name << " not found", ((std::string)name))
34
35ERS_DECLARE_ISSUE(iomanager, FailedPublish, "Failed to publish configuration " << result, ((std::string)result))
36
37ERS_DECLARE_ISSUE(iomanager,
38 FailedRetract,
39 "Failed to retract configuration " << result,
40 ((std::string)name)((std::string)result))
41
42 ERS_DECLARE_ISSUE(iomanager,
43 FailedLookup,
44 "Failed to lookup " << cuid << " at " << target << " " << result,
45 ((std::string)cuid)((std::string)target)((std::string)result))
46
47 ERS_DECLARE_ISSUE(iomanager,
48 PublishException,
49 "Caught exception <" << exc << "> while trying to publish",
50 ((std::string)exc))
51
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
Including Qt Headers.
The opmon infrastructure has not been set up in the configuration
Definition util.hpp:28