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

Exception type thrown when evaluating an operator function results in an error (e.g. overflow, division by zero, etc.) More...

#include <cudf/utilities/error.hpp>

Inheritance diagram for cudf::evaluation_error:

Public Member Functions

 evaluation_error (errc error, std::string message)
 Construct a new evaluation error object. More...
 
char const * what () const noexcept override
 Get the error message. More...
 
errc error_code () const
 Get the error code that occurred during evaluation. More...
 

Detailed Description

Exception type thrown when evaluating an operator function results in an error (e.g. overflow, division by zero, etc.)

Definition at line 115 of file error.hpp.

Constructor & Destructor Documentation

◆ evaluation_error()

cudf::evaluation_error::evaluation_error ( errc  error,
std::string  message 
)
inline

Construct a new evaluation error object.

Parameters
errorThe error code that occurred during evaluation
messageAn error message describing the evaluation error

Definition at line 122 of file error.hpp.

Member Function Documentation

◆ error_code()

errc cudf::evaluation_error::error_code ( ) const
inline

Get the error code that occurred during evaluation.

Returns
The error code

Definition at line 134 of file error.hpp.

◆ what()

char const* cudf::evaluation_error::what ( ) const
inlineoverridenoexcept

Get the error message.

Returns
A C-string describing the error

Definition at line 128 of file error.hpp.


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