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... | |
Public Member Functions inherited from cudf::stacktrace_recorder | |
char const * | stacktrace () const |
Get the stored stacktrace captured during object construction. More... | |
Additional Inherited Members | |
Protected Attributes inherited from cudf::stacktrace_recorder | |
std::string const | _stacktrace |
The whole stacktrace stored as one string. | |
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 |