19 #include <rmm/detail/export.hpp>
24 namespace RMM_NAMESPACE {
36 using std::logic_error::logic_error;
46 using std::runtime_error::runtime_error;
74 [[nodiscard]]
const char*
what() const noexcept
override {
return _what.c_str(); }
111 using std::out_of_range::out_of_range;
Exception thrown when an RMM allocation fails.
Definition: error.hpp:55
const char * what() const noexcept override
The explanatory string.
Definition: error.hpp:74
bad_alloc(std::string const &msg)
Constructs a bad_alloc with the error message.
Definition: error.hpp:69
bad_alloc(const char *msg)
Constructs a bad_alloc with the error message.
Definition: error.hpp:62
Exception thrown when RMM runs out of memory.
Definition: error.hpp:87
out_of_memory(std::string const &msg)
Constructs an out_of_memory with the error message.
Definition: error.hpp:101
out_of_memory(const char *msg)
Constructs an out_of_memory with the error message.
Definition: error.hpp:94
Exception thrown when attempting to access outside of a defined range.
Definition: error.hpp:110
Exception thrown when a CUDA error is encountered.
Definition: error.hpp:45
Exception thrown when logical precondition is violated.
Definition: error.hpp:35