9 #ifndef FAIR_MQ_SDK_ERROR_H 10 #define FAIR_MQ_SDK_ERROR_H 12 #include <fairmq/tools/Strings.h> 14 #include <system_error> 22 template<
typename... T>
24 : ::std::runtime_error::runtime_error(tools::ToString(std::forward<T>(t)...))
30 using RuntimeError::RuntimeError;
37 OperationInProgress = 10,
40 DeviceChangeStateFailed,
41 DeviceGetPropertiesFailed,
42 DeviceSetPropertiesFailed
45 std::error_code MakeErrorCode(ErrorCode);
49 const char* name()
const noexcept
override;
50 std::string message(
int ev)
const override;
59 struct is_error_code_enum<
fair::mq::ErrorCode> : true_type
Tools for interfacing containers to the transport via polymorphic allocators.
Definition: DeviceRunner.h:23