MeshKernel
|
A class for throwing mesh geometry errors. More...
#include <Exceptions.hpp>
Public Member Functions | |
template<typename... Args> | |
MeshGeometryError (meshkernel::UInt mesh_index, Location mesh_location, FormatString const &format_string, Args &&... args) | |
Class constructor. More... | |
meshkernel::UInt | MeshIndex () const |
Returns the invalid index. More... | |
Location | MeshLocation () const |
Returns the mesh location. More... | |
Public Member Functions inherited from meshkernel::MeshKernelError | |
template<typename... Args> | |
MeshKernelError (FormatString const &format_string, Args &&... args) | |
Class constructor. More... | |
virtual | ~MeshKernelError ()=default |
Class destructor. | |
const char * | what () const noexcept override |
Returns the explanatory string of the error. More... | |
ExitCode | Code () const |
Returns the exit code. More... | |
Additional Inherited Members |
A class for throwing mesh geometry errors.
|
inline |
Class constructor.
[in] | mesh_index | The mesh index |
[in] | mesh_location | The mesh location |
[in] | format_string | The format string |
[in] | args | The arguments to be formatted. |
|
inline |
Returns the invalid index.
|
inline |
Returns the mesh location.