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;
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.
bad_alloc(std::string const &msg)
Constructs a bad_alloc with the error message.
bad_alloc(const char *msg)
Constructs a bad_alloc with the error message.
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.
out_of_memory(const char *msg)
Constructs an out_of_memory with the error message.
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