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;
Started operation was aborted.
Started operation timed out.
Represents error in single source.
char const * what() const noexcept override
DaqSourceError(std::string request, std::string source, std::string message)
Exception thrown to carry reply errors.
char const * what() const noexcept override
DaqSourceErrors(std::vector< std::exception_ptr > errors)
std::vector< std::variant< DaqSourceError, std::exception_ptr > > m_errors
daqif::DaqStatus & operator<<(daqif::DaqStatus &status, daq::Status const &rhs)
Convert daq::Status -> daqif::DaqStatus by populating from rhs.
ErrorPolicy
Error policy supported by certain operations.
@ Strict
Any error is considered fatal and may lead to the operation being aborted.
@ Tolerant
Errors that can be ignored with partial completion of a command will be tolerated and is reported as ...