17 class Error :
public std::exception {
29 explicit Error(
const std::string& msg) : _msg{msg} {}
38 const char*
what() const noexcept
override {
return this->_msg.c_str(); }
The exception for UCS_ERR_ALREADY_EXISTS.
Definition: exception.h:335
AlreadyExistsError(const std::string &msg)
The UCS_ERR_ALREADY_EXISTS constructor.
Definition: exception.h:344
The exception for UCS_ERR_BUFFER_TOO_SMALL.
Definition: exception.h:216
BufferTooSmallError(const std::string &msg)
The UCS_ERR_BUFFER_TOO_SMALL constructor.
Definition: exception.h:225
The exception for UCS_ERR_BUSY.
Definition: exception.h:284
BusyError(const std::string &msg)
The UCS_ERR_BUSY constructor.
Definition: exception.h:293
The exception for UCS_ERR_CANCELED.
Definition: exception.h:301
CanceledError(const std::string &msg)
The UCS_ERR_CANCELED constructor.
Definition: exception.h:310
The exception for UCS_ERR_CONNECTION_RESET.
Definition: exception.h:454
ConnectionResetError(const std::string &msg)
The UCS_ERR_CONNECTION_RESET constructor.
Definition: exception.h:463
The exception for UCS_ERR_ENDPOINT_TIMEOUT.
Definition: exception.h:522
EndpointTimeoutError(const std::string &msg)
The UCS_ERR_ENDPOINT_TIMEOUT constructor.
Definition: exception.h:531
The base class for all UCX exceptions.
Definition: exception.h:17
const char * what() const noexcept override
Returns an explanatory string.
Definition: exception.h:38
Error(const std::string &msg)
The base class constructor.
Definition: exception.h:29
The exception for UCS_ERR_EXCEEDS_LIMIT.
Definition: exception.h:386
ExceedsLimitError(const std::string &msg)
The UCS_ERR_EXCEEDS_LIMIT constructor.
Definition: exception.h:395
The exception for UCS_ERR_FIRST_ENDPOINT_FAILURE.
Definition: exception.h:505
FirstEndpointFailureError(const std::string &msg)
The UCS_ERR_FIRST_ENDPOINT_FAILURE constructor.
Definition: exception.h:514
The exception for UCS_ERR_FIRST_LINK_FAILURE.
Definition: exception.h:471
FirstLinkFailureError(const std::string &msg)
The UCS_ERR_FIRST_LINK_FAILURE constructor.
Definition: exception.h:480
The exception for UCS_ERR_IO_ERROR.
Definition: exception.h:80
IOError(const std::string &msg)
The UCS_ERR_IO_ERROR constructor.
Definition: exception.h:89
The exception for UCS_ERR_INVALID_ADDR.
Definition: exception.h:148
InvalidAddrError(const std::string &msg)
The UCS_ERR_INVALID_ADDR constructor.
Definition: exception.h:157
The exception for UCS_ERR_INVALID_PARAM.
Definition: exception.h:114
InvalidParamError(const std::string &msg)
The UCS_ERR_INVALID_PARAM constructor.
Definition: exception.h:123
The exception for UCS_ERR_LAST_ENDPOINT_FAILURE.
Definition: exception.h:539
LastEndpointFailureError(const std::string &msg)
The UCS_ERR_LAST_ENDPOINT_FAILURE constructor.
Definition: exception.h:548
The exception for UCS_ERR_LAST_LINK_FAILURE.
Definition: exception.h:488
LastLinkFailureError(const std::string &msg)
The UCS_ERR_LAST_LINK_FAILURE constructor.
Definition: exception.h:497
The exception for UCS_ERR_MESSAGE_TRUNCATED.
Definition: exception.h:182
MessageTruncatedError(const std::string &msg)
The UCS_ERR_MESSAGE_TRUNCATED constructor.
Definition: exception.h:191
The exception for UCS_ERR_NO_DEVICE.
Definition: exception.h:267
NoDeviceError(const std::string &msg)
The UCS_ERR_NO_DEVICE constructor.
Definition: exception.h:276
The exception for UCS_ERR_NO_ELEM.
Definition: exception.h:233
NoElemError(const std::string &msg)
The UCS_ERR_NO_ELEM constructor.
Definition: exception.h:242
The exception for UCS_ERR_NO_MEMORY.
Definition: exception.h:97
NoMemoryError(const std::string &msg)
The UCS_ERR_NO_MEMORY constructor.
Definition: exception.h:106
The exception for UCS_ERR_NO_MESSAGE.
Definition: exception.h:46
NoMessageError(const std::string &msg)
The UCS_ERR_NO_MESSAGE constructor.
Definition: exception.h:55
The exception for UCS_ERR_NO_PROGRESS.
Definition: exception.h:199
NoProgressError(const std::string &msg)
The UCS_ERR_NO_PROGRESS constructor.
Definition: exception.h:208
The exception for UCS_ERR_NO_RESOURCE.
Definition: exception.h:63
NoResourceError(const std::string &msg)
The UCS_ERR_NO_RESOURCE constructor.
Definition: exception.h:72
The exception for UCS_ERR_NOT_CONNECTED.
Definition: exception.h:437
NotConnectedError(const std::string &msg)
The UCS_ERR_NOT_CONNECTED constructor.
Definition: exception.h:446
The exception for UCS_ERR_NOT_IMPLEMENTED.
Definition: exception.h:165
NotImplementedError(const std::string &msg)
The UCS_ERR_NOT_IMPLEMENTED constructor.
Definition: exception.h:174
The exception for UCS_ERR_OUT_OF_RANGE.
Definition: exception.h:352
OutOfRangeError(const std::string &msg)
The UCS_ERR_OUT_OF_RANGE constructor.
Definition: exception.h:361
The exception for UCS_ERR_REJECTED.
Definition: exception.h:420
RejectedError(const std::string &msg)
The UCS_ERR_REJECTED constructor.
Definition: exception.h:429
The exception for UCS_ERR_SHMEM_SEGMENT.
Definition: exception.h:318
ShmemSegmentError(const std::string &msg)
The UCS_ERR_SHMEM_SEGMENT constructor.
Definition: exception.h:327
The exception for UCS_ERR_SOME_CONNECTS_FAILED.
Definition: exception.h:250
SomeConnectsFailedError(const std::string &msg)
The UCS_ERR_SOME_CONNECTS_FAILED constructor.
Definition: exception.h:259
The exception for UCS_ERR_TIMED_OUT.
Definition: exception.h:369
TimedOutError(const std::string &msg)
The UCS_ERR_TIMED_OUT constructor.
Definition: exception.h:378
The exception for UCS_ERR_UNREACHABLE.
Definition: exception.h:131
UnreachableError(const std::string &msg)
The UCS_ERR_UNREACHABLE constructor.
Definition: exception.h:140
The exception for UCS_ERR_UNSUPPORTED.
Definition: exception.h:403
UnsupportedError(const std::string &msg)
The UCS_ERR_UNSUPPORTED constructor.
Definition: exception.h:412