18 class 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(); }
The exception for UCS_ERR_ALREADY_EXISTS.
Definition: exception.h:336
AlreadyExistsError(const std::string &msg)
The UCS_ERR_ALREADY_EXISTS constructor.
Definition: exception.h:345
The exception for UCS_ERR_BUFFER_TOO_SMALL.
Definition: exception.h:217
BufferTooSmallError(const std::string &msg)
The UCS_ERR_BUFFER_TOO_SMALL constructor.
Definition: exception.h:226
The exception for UCS_ERR_BUSY.
Definition: exception.h:285
BusyError(const std::string &msg)
The UCS_ERR_BUSY constructor.
Definition: exception.h:294
The exception for UCS_ERR_CANCELED.
Definition: exception.h:302
CanceledError(const std::string &msg)
The UCS_ERR_CANCELED constructor.
Definition: exception.h:311
The exception for UCS_ERR_CONNECTION_RESET.
Definition: exception.h:455
ConnectionResetError(const std::string &msg)
The UCS_ERR_CONNECTION_RESET constructor.
Definition: exception.h:464
The exception for UCS_ERR_ENDPOINT_TIMEOUT.
Definition: exception.h:523
EndpointTimeoutError(const std::string &msg)
The UCS_ERR_ENDPOINT_TIMEOUT constructor.
Definition: exception.h:532
The base class for all UCX exceptions.
Definition: exception.h:18
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
The exception for UCS_ERR_EXCEEDS_LIMIT.
Definition: exception.h:387
ExceedsLimitError(const std::string &msg)
The UCS_ERR_EXCEEDS_LIMIT constructor.
Definition: exception.h:396
The exception for UCS_ERR_FIRST_ENDPOINT_FAILURE.
Definition: exception.h:506
FirstEndpointFailureError(const std::string &msg)
The UCS_ERR_FIRST_ENDPOINT_FAILURE constructor.
Definition: exception.h:515
The exception for UCS_ERR_FIRST_LINK_FAILURE.
Definition: exception.h:472
FirstLinkFailureError(const std::string &msg)
The UCS_ERR_FIRST_LINK_FAILURE constructor.
Definition: exception.h:481
The exception for UCS_ERR_IO_ERROR.
Definition: exception.h:81
IOError(const std::string &msg)
The UCS_ERR_IO_ERROR constructor.
Definition: exception.h:90
The exception for UCS_ERR_INVALID_ADDR.
Definition: exception.h:149
InvalidAddrError(const std::string &msg)
The UCS_ERR_INVALID_ADDR constructor.
Definition: exception.h:158
The exception for UCS_ERR_INVALID_PARAM.
Definition: exception.h:115
InvalidParamError(const std::string &msg)
The UCS_ERR_INVALID_PARAM constructor.
Definition: exception.h:124
The exception for UCS_ERR_LAST_ENDPOINT_FAILURE.
Definition: exception.h:540
LastEndpointFailureError(const std::string &msg)
The UCS_ERR_LAST_ENDPOINT_FAILURE constructor.
Definition: exception.h:549
The exception for UCS_ERR_LAST_LINK_FAILURE.
Definition: exception.h:489
LastLinkFailureError(const std::string &msg)
The UCS_ERR_LAST_LINK_FAILURE constructor.
Definition: exception.h:498
The exception for UCS_ERR_MESSAGE_TRUNCATED.
Definition: exception.h:183
MessageTruncatedError(const std::string &msg)
The UCS_ERR_MESSAGE_TRUNCATED constructor.
Definition: exception.h:192
The exception for UCS_ERR_NO_DEVICE.
Definition: exception.h:268
NoDeviceError(const std::string &msg)
The UCS_ERR_NO_DEVICE constructor.
Definition: exception.h:277
The exception for UCS_ERR_NO_ELEM.
Definition: exception.h:234
NoElemError(const std::string &msg)
The UCS_ERR_NO_ELEM constructor.
Definition: exception.h:243
The exception for UCS_ERR_NO_MEMORY.
Definition: exception.h:98
NoMemoryError(const std::string &msg)
The UCS_ERR_NO_MEMORY constructor.
Definition: exception.h:107
The exception for UCS_ERR_NO_MESSAGE.
Definition: exception.h:47
NoMessageError(const std::string &msg)
The UCS_ERR_NO_MESSAGE constructor.
Definition: exception.h:56
The exception for UCS_ERR_NO_PROGRESS.
Definition: exception.h:200
NoProgressError(const std::string &msg)
The UCS_ERR_NO_PROGRESS constructor.
Definition: exception.h:209
The exception for UCS_ERR_NO_RESOURCE.
Definition: exception.h:64
NoResourceError(const std::string &msg)
The UCS_ERR_NO_RESOURCE constructor.
Definition: exception.h:73
The exception for UCS_ERR_NOT_CONNECTED.
Definition: exception.h:438
NotConnectedError(const std::string &msg)
The UCS_ERR_NOT_CONNECTED constructor.
Definition: exception.h:447
The exception for UCS_ERR_NOT_IMPLEMENTED.
Definition: exception.h:166
NotImplementedError(const std::string &msg)
The UCS_ERR_NOT_IMPLEMENTED constructor.
Definition: exception.h:175
The exception for UCS_ERR_OUT_OF_RANGE.
Definition: exception.h:353
OutOfRangeError(const std::string &msg)
The UCS_ERR_OUT_OF_RANGE constructor.
Definition: exception.h:362
The exception for UCS_ERR_REJECTED.
Definition: exception.h:421
RejectedError(const std::string &msg)
The UCS_ERR_REJECTED constructor.
Definition: exception.h:430
The exception for UCS_ERR_SHMEM_SEGMENT.
Definition: exception.h:319
ShmemSegmentError(const std::string &msg)
The UCS_ERR_SHMEM_SEGMENT constructor.
Definition: exception.h:328
The exception for UCS_ERR_SOME_CONNECTS_FAILED.
Definition: exception.h:251
SomeConnectsFailedError(const std::string &msg)
The UCS_ERR_SOME_CONNECTS_FAILED constructor.
Definition: exception.h:260
The exception for UCS_ERR_TIMED_OUT.
Definition: exception.h:370
TimedOutError(const std::string &msg)
The UCS_ERR_TIMED_OUT constructor.
Definition: exception.h:379
The exception for UCS_ERR_UNREACHABLE.
Definition: exception.h:132
UnreachableError(const std::string &msg)
The UCS_ERR_UNREACHABLE constructor.
Definition: exception.h:141
The exception for UCS_ERR_UNSUPPORTED.
Definition: exception.h:404
UnsupportedError(const std::string &msg)
The UCS_ERR_UNSUPPORTED constructor.
Definition: exception.h:413