Exception thrown when a memory reservation fails in RapidsMPF. More...
#include <error.hpp>
Public Member Functions | |
| reservation_error (char const *msg) | |
| Construct a reservation_error with an error message. More... | |
| reservation_error (std::string const &msg) | |
| Construct a reservation_error with an error message. More... | |
Public Member Functions inherited from rapidsmpf::bad_alloc | |
| bad_alloc (char const *msg) | |
| Construct a bad_alloc with the error message. More... | |
| bad_alloc (std::string const &msg) | |
| Construct a bad_alloc with the error message. More... | |
| char const * | what () const noexcept override |
| Return the explanatory string. More... | |
Exception thrown when a memory reservation fails in RapidsMPF.
This exception is thrown when attempting to reserve memory fails, or when an existing reservation is insufficient for a requested allocation. It does not necessarily indicate that the system is out of physical memory, only that the reservation contract could not be satisfied.
|
inlineexplicit |
Construct a reservation_error with an error message.
| msg | Message to be associated with the exception. |
|
inlineexplicit |
Construct a reservation_error with an error message.
| msg | Message to be associated with the exception. |