Contains error category information.
More...
#include <Exceptions.hpp>
Contains error category information.
◆ ErrorCategory()
meshkernel::ErrorCategory::ErrorCategory |
( |
std::string_view |
name, |
|
|
ExitCode |
exit_code |
|
) |
| |
|
inline |
Class constructor.
- Parameters
-
[in] | name | The name of the error category |
[in] | exit_code | The exit code of the error category |
◆ Code()
ExitCode meshkernel::ErrorCategory::Code |
( |
| ) |
const |
|
inline |
Return the exit code of the error category.
- Returns
- The exit code of the error category
◆ Name()
std::string_view meshkernel::ErrorCategory::Name |
( |
| ) |
const |
|
inline |
Returns the name of the error category.
- Returns
- The name of the error category
The documentation for this class was generated from the following file:
- /home/runner/work/MeshKernel/MeshKernel/libs/MeshKernel/include/MeshKernel/Exceptions.hpp