Public Member Functions | List of all members
cudf::logic_error Struct Reference

Exception thrown when logical precondition is violated. More...

#include <error.hpp>

Inheritance diagram for cudf::logic_error:
cudf::stacktrace_recorder

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.
 

Detailed Description

Exception thrown when logical precondition is violated.

This exception should not be thrown directly and is instead thrown by the CUDF_EXPECTS macro.

Definition at line 64 of file error.hpp.

Constructor & Destructor Documentation

◆ logic_error() [1/2]

cudf::logic_error::logic_error ( char const *const  message)
inline

Constructs a logic_error with the error message.

Parameters
messageMessage to be associated with the exception

Definition at line 70 of file error.hpp.

◆ logic_error() [2/2]

cudf::logic_error::logic_error ( std::string const &  message)
inline

Construct a new logic error object with error message.

Parameters
messageMessage to be associated with the exception

Definition at line 77 of file error.hpp.


The documentation for this struct was generated from the following file: