ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Go to the documentation of this file.
8 #ifndef OCF_DAQ_ERROR_HPP_
9 #define OCF_DAQ_ERROR_HPP_
49 using std::runtime_error::runtime_error;
59 using std::runtime_error::runtime_error;
69 DaqSourceError(std::string request, std::string source, std::string message);
71 char const*
what()
const noexcept
override;
87 DaqSourceErrors(std::vector<std::variant<DaqSourceError, std::exception_ptr>> errors);
89 char const*
what()
const noexcept
override;
91 std::vector<std::variant<DaqSourceError, std::exception_ptr>>
m_errors;
99 #endif // #ifndef OCF_DAQ_ERROR_HPP_
Started operation timed out.
Represents error in single source.
char const * what() const noexcept override
Exception thrown to carry reply errors.
std::vector< std::variant< DaqSourceError, std::exception_ptr > > m_errors
DaqSourceError(std::string request, std::string source, std::string message)
char const * what() const noexcept override
daqif::DaqStatus & operator<<(daqif::DaqStatus &status, daq::Status const &rhs)
Convert daq::Status -> daqif::DaqStatus by populating from rhs.
DaqSourceErrors(std::vector< std::exception_ptr > errors)
Started operation was aborted.
ErrorPolicy
Error policy supported by certain operations.
@ Strict
Any error is considered fatal and may lead to the operation being aborted.