VTK-m  2.1
Public Member Functions | Static Private Attributes | List of all members
vtkm::cont::ErrorUserAbort Class Reference

This class is thrown when vtk-m detects a request for aborting execution in the current thread. More...

#include <ErrorUserAbort.h>

Inheritance diagram for vtkm::cont::ErrorUserAbort:
vtkm::cont::Error

Public Member Functions

 ErrorUserAbort ()
 
- Public Member Functions inherited from vtkm::cont::Error
const std::string & GetMessage () const
 Returns a message describing what caused the error. More...
 
const std::string & GetStackTrace () const
 Provides a stack trace to the location where this error was thrown. More...
 
const char * what () const noexcept override
 Returns the message for the error and the stack trace for it. More...
 
bool GetIsDeviceIndependent () const
 Returns true if this exception is device independent. More...
 

Static Private Attributes

static constexpr const char * Message = "User abort detected."
 

Additional Inherited Members

- Protected Member Functions inherited from vtkm::cont::Error
 Error ()
 
 Error (const std::string &message, bool is_device_independent=false)
 
void SetMessage (const std::string &message)
 

Detailed Description

This class is thrown when vtk-m detects a request for aborting execution in the current thread.

Constructor & Destructor Documentation

◆ ErrorUserAbort()

vtkm::cont::ErrorUserAbort::ErrorUserAbort ( )
inline

Member Data Documentation

◆ Message

constexpr const char* vtkm::cont::ErrorUserAbort::Message = "User abort detected."
staticconstexprprivate

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