The superclass of all exceptions thrown by any VTKm function or method.
More...
#include <Error.h>
|
| | Error () |
| |
| | Error (const std::string &message, bool is_device_independent=false) |
| |
| void | SetMessage (const std::string &message) |
| |
The superclass of all exceptions thrown by any VTKm function or method.
◆ Error() [1/2]
| vtkm::cont::Error::Error |
( |
| ) |
|
|
inlineprotected |
◆ Error() [2/2]
| vtkm::cont::Error::Error |
( |
const std::string & |
message, |
|
|
bool |
is_device_independent = false |
|
) |
| |
|
inlineprotected |
◆ GetIsDeviceIndependent()
| bool vtkm::cont::Error::GetIsDeviceIndependent |
( |
| ) |
const |
|
inline |
Returns true if this exception is device independent.
For exceptions that are not device independent, vtkm::TryExecute, for example, may try executing the code on other available devices.
◆ GetMessage()
| const std::string& vtkm::cont::Error::GetMessage |
( |
| ) |
const |
|
inline |
◆ GetStackTrace()
| const std::string& vtkm::cont::Error::GetStackTrace |
( |
| ) |
const |
|
inline |
◆ SetMessage()
| void vtkm::cont::Error::SetMessage |
( |
const std::string & |
message | ) |
|
|
inlineprotected |
◆ what()
| const char* vtkm::cont::Error::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ IsDeviceIndependent
| bool vtkm::cont::Error::IsDeviceIndependent |
|
private |
◆ Message
| std::string vtkm::cont::Error::Message |
|
private |
◆ StackTrace
| std::string vtkm::cont::Error::StackTrace |
|
private |
◆ What
| std::string vtkm::cont::Error::What |
|
private |
The documentation for this class was generated from the following file: