Public Member Functions | Protected Attributes | List of all members
cudf::stacktrace_recorder Struct Reference

The struct to store the current stacktrace upon its construction. More...

#include <error.hpp>

Inheritance diagram for cudf::stacktrace_recorder:
cudf::cuda_error cudf::data_type_error cudf::logic_error cudf::fatal_cuda_error

Public Member Functions

char const * stacktrace () const
 Get the stored stacktrace captured during object construction. More...
 

Protected Attributes

std::string const _stacktrace
 The whole stacktrace stored as one string.
 

Detailed Description

The struct to store the current stacktrace upon its construction.

Definition at line 38 of file error.hpp.

Member Function Documentation

◆ stacktrace()

char const* cudf::stacktrace_recorder::stacktrace ( ) const
inline

Get the stored stacktrace captured during object construction.

Returns
The pointer to a null-terminated string storing the output stacktrace

Definition at line 51 of file error.hpp.


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