VTK-m  2.0
Namespaces | Macros | Enumerations | Functions
ErrorCode.h File Reference
#include <lcl/ErrorCode.h>
#include <vtkm/internal/ExportMacros.h>

Go to the source code of this file.

Namespaces

 vtkm
 Groups connected points that have the same field value.
 

Macros

#define VTKM_RETURN_ON_ERROR(call)
 

Enumerations

enum  vtkm::ErrorCode {
  vtkm::ErrorCode::Success, vtkm::ErrorCode::InvalidShapeId, vtkm::ErrorCode::InvalidNumberOfPoints, vtkm::ErrorCode::InvalidCellMetric,
  vtkm::ErrorCode::WrongShapeIdForTagType, vtkm::ErrorCode::InvalidPointId, vtkm::ErrorCode::InvalidEdgeId, vtkm::ErrorCode::InvalidFaceId,
  vtkm::ErrorCode::SolutionDidNotConverge, vtkm::ErrorCode::MatrixFactorizationFailed, vtkm::ErrorCode::DegenerateCellDetected, vtkm::ErrorCode::MalformedCellDetected,
  vtkm::ErrorCode::OperationOnEmptyCell, vtkm::ErrorCode::CellNotFound, vtkm::ErrorCode::UnknownError
}
 

Functions

const VTKM_EXEC_CONT char * vtkm::ErrorString (vtkm::ErrorCode code) noexcept
 

Macro Definition Documentation

◆ VTKM_RETURN_ON_ERROR

#define VTKM_RETURN_ON_ERROR (   call)
Value:
do \
{ \
auto status = (call); \
if (status != ::vtkm::ErrorCode::Success) \
{ \
return status; \
} \
} while (false)
vtkm::ErrorCode::Success
@ Success