18class Error :
public std::exception {
30 explicit Error(
const std::string& msg) : _msg{std::move(msg)} {}
39 const char*
what() const noexcept
override {
return this->_msg.c_str(); }
AlreadyExistsError(const std::string &msg)
The UCS_ERR_ALREADY_EXISTS constructor.
Definition exception.h:345
BufferTooSmallError(const std::string &msg)
The UCS_ERR_BUFFER_TOO_SMALL constructor.
Definition exception.h:226
BusyError(const std::string &msg)
The UCS_ERR_BUSY constructor.
Definition exception.h:294
CanceledError(const std::string &msg)
The UCS_ERR_CANCELED constructor.
Definition exception.h:311
ConnectionResetError(const std::string &msg)
The UCS_ERR_CONNECTION_RESET constructor.
Definition exception.h:464
EndpointTimeoutError(const std::string &msg)
The UCS_ERR_ENDPOINT_TIMEOUT constructor.
Definition exception.h:532
const char * what() const noexcept override
Returns an explanatory string.
Definition exception.h:39
Error(const std::string &msg)
The base class constructor.
Definition exception.h:30
ExceedsLimitError(const std::string &msg)
The UCS_ERR_EXCEEDS_LIMIT constructor.
Definition exception.h:396
FirstEndpointFailureError(const std::string &msg)
The UCS_ERR_FIRST_ENDPOINT_FAILURE constructor.
Definition exception.h:515
FirstLinkFailureError(const std::string &msg)
The UCS_ERR_FIRST_LINK_FAILURE constructor.
Definition exception.h:481
IOError(const std::string &msg)
The UCS_ERR_IO_ERROR constructor.
Definition exception.h:90
InvalidAddrError(const std::string &msg)
The UCS_ERR_INVALID_ADDR constructor.
Definition exception.h:158
InvalidParamError(const std::string &msg)
The UCS_ERR_INVALID_PARAM constructor.
Definition exception.h:124
LastEndpointFailureError(const std::string &msg)
The UCS_ERR_LAST_ENDPOINT_FAILURE constructor.
Definition exception.h:549
LastLinkFailureError(const std::string &msg)
The UCS_ERR_LAST_LINK_FAILURE constructor.
Definition exception.h:498
MessageTruncatedError(const std::string &msg)
The UCS_ERR_MESSAGE_TRUNCATED constructor.
Definition exception.h:192
NoDeviceError(const std::string &msg)
The UCS_ERR_NO_DEVICE constructor.
Definition exception.h:277
NoElemError(const std::string &msg)
The UCS_ERR_NO_ELEM constructor.
Definition exception.h:243
NoMemoryError(const std::string &msg)
The UCS_ERR_NO_MEMORY constructor.
Definition exception.h:107
NoMessageError(const std::string &msg)
The UCS_ERR_NO_MESSAGE constructor.
Definition exception.h:56
NoProgressError(const std::string &msg)
The UCS_ERR_NO_PROGRESS constructor.
Definition exception.h:209
NoResourceError(const std::string &msg)
The UCS_ERR_NO_RESOURCE constructor.
Definition exception.h:73
NotConnectedError(const std::string &msg)
The UCS_ERR_NOT_CONNECTED constructor.
Definition exception.h:447
NotImplementedError(const std::string &msg)
The UCS_ERR_NOT_IMPLEMENTED constructor.
Definition exception.h:175
OutOfRangeError(const std::string &msg)
The UCS_ERR_OUT_OF_RANGE constructor.
Definition exception.h:362
RejectedError(const std::string &msg)
The UCS_ERR_REJECTED constructor.
Definition exception.h:430
ShmemSegmentError(const std::string &msg)
The UCS_ERR_SHMEM_SEGMENT constructor.
Definition exception.h:328
SomeConnectsFailedError(const std::string &msg)
The UCS_ERR_SOME_CONNECTS_FAILED constructor.
Definition exception.h:260
TimedOutError(const std::string &msg)
The UCS_ERR_TIMED_OUT constructor.
Definition exception.h:379
UnreachableError(const std::string &msg)
The UCS_ERR_UNREACHABLE constructor.
Definition exception.h:141
UnsupportedError(const std::string &msg)
The UCS_ERR_UNSUPPORTED constructor.
Definition exception.h:413