A class for throwing general MeshKernel exceptions.
More...
#include <Exceptions.hpp>
A class for throwing general MeshKernel exceptions.
◆ MeshKernelError()
template<typename... Args>
meshkernel::MeshKernelError::MeshKernelError |
( |
FormatString const & |
format_string, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Class constructor.
- Parameters
-
[in] | format_string | The format string |
[in] | args | The arguments to be formatted. |
◆ Category()
virtual ErrorCategory meshkernel::MeshKernelError::Category |
( |
| ) |
const |
|
inlineprotectedvirtual |
Returns the error category.
- Returns
- The error category.
◆ Code()
ExitCode meshkernel::MeshKernelError::Code |
( |
| ) |
const |
|
inline |
Returns the exit code.
- Returns
- The exit code
◆ what()
const char* meshkernel::MeshKernelError::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
Returns the explanatory string of the error.
- Returns
- The explanatory string of the error.
The documentation for this class was generated from the following file:
- /home/runner/work/MeshKernel/MeshKernel/libs/MeshKernel/include/MeshKernel/Exceptions.hpp