Exception thrown when logical precondition is violated. More...
#include <error.hpp>
Public Member Functions | |
logic_error (char const *const message) | |
Constructs a logic_error with the error message. More... | |
logic_error (std::string const &message) | |
Construct a new logic error object with error message. More... | |
Exception thrown when logical precondition is violated.
This exception should not be thrown directly and is instead thrown by the CUDF_EXPECTS macro.
|
inline |
Constructs a logic_error with the error message.
message | Message to be associated with the exception |
|
inline |