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:

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...
 

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 38 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 44 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 51 of file error.hpp.


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