Exception thrown when an RMM allocation fails. More...
#include <error.hpp>
Public Member Functions | |
bad_alloc (const char *msg) | |
Constructs a bad_alloc with the error message. More... | |
bad_alloc (std::string const &msg) | |
Constructs a bad_alloc with the error message. More... | |
const char * | what () const noexcept override |
The explanatory string. More... | |
Exception thrown when an RMM allocation fails.
rmm::bad_alloc::bad_alloc | ( | const char * | msg | ) |
Constructs a bad_alloc with the error message.
msg | Message to be associated with the exception |
rmm::bad_alloc::bad_alloc | ( | std::string const & | msg | ) |
Constructs a bad_alloc with the error message.
msg | Message to be associated with the exception |
|
overridenoexcept |
The explanatory string.