Enum config_error
Defined in File error.hpp
Enum Documentation
-
enum class mcfp::config_error
A stronly typed class containing the error codes reported by mcfp::config.
error.hpp mcfp/error.hpp
Values:
-
enumerator unknown_option
The option requested does not exist, was not part of mcfp::config::init. This error is returned by mcfp::config::get
-
enumerator option_does_not_accept_argument
When parsing the command line arguments a value (argument) was specified for an option that should not have one
-
enumerator missing_argument_for_option
A option without a required argument was found while parsing the command line arguments
-
enumerator option_not_specified
There was not option found on the command line and no default argument was specified for the option passed in mcfp::config::get
-
enumerator invalid_config_file
The config file is not of the expected format
-
enumerator wrong_type_cast
An attempt was made to ask for an option in another type than used when registering this option in mcfp::config::init
-
enumerator config_file_not_found
The specified config file was not found
-
enumerator unknown_option