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

Exception thrown when an operation is attempted on an unsupported dtype. More...

#include <error.hpp>

Inheritance diagram for cudf::data_type_error:
cudf::stacktrace_recorder

Public Member Functions

 data_type_error (char const *const message)
 Constructs a data_type_error with the error message. More...
 
 data_type_error (std::string const &message)
 Construct a new data_type_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 an operation is attempted on an unsupported dtype.

This exception should be thrown when an operation is attempted on an unsupported data_type. This exception should not be thrown directly and is instead thrown by the CUDF_EXPECTS or CUDF_FAIL macros.

Definition at line 127 of file error.hpp.

Constructor & Destructor Documentation

◆ data_type_error() [1/2]

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

Constructs a data_type_error with the error message.

Parameters
messageMessage to be associated with the exception

Definition at line 133 of file error.hpp.

◆ data_type_error() [2/2]

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

Construct a new data_type_error object with error message.

Parameters
messageMessage to be associated with the exception

Definition at line 140 of file error.hpp.


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