Elements 6.1.2
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
OptionException.h
Go to the documentation of this file.
1
21#ifndef ELEMENTSKERNEL_SRC_LIB_OPTIONEXCEPTION_H_
22#define ELEMENTSKERNEL_SRC_LIB_OPTIONEXCEPTION_H_
23
24#include <string>
25
27
28namespace Elements {
29
30class OptionException : public Exception {
31
32public:
33 explicit OptionException(const std::string& message = "") : Exception(message, Elements::ExitCode::USAGE) {}
34};
35
36} // namespace Elements
37
38#endif // ELEMENTSKERNEL_SRC_LIB_OPTIONEXCEPTION_H_
defines the base Elements exception class
Elements base exception class.
Definition: Exception.h:47
OptionException(const std::string &message="")
ExitCode
Strongly typed exit numbers.
Definition: Exit.h:97
@ USAGE
command line usage error