Simo 0.0.1
Loading...
Searching...
No Matches
CLI::Error Class Reference

All errors derive from this one. More...

#include <CLI11.hpp>

Inheritance diagram for CLI::Error:
CLI::ConstructionError CLI::OptionNotFound CLI::ParseError CLI::BadNameString CLI::IncorrectConstruction CLI::OptionAlreadyAdded CLI::ArgumentMismatch CLI::ConfigError CLI::ConversionError CLI::ExcludesError CLI::ExtrasError CLI::FileError CLI::HorribleError CLI::InvalidError CLI::RequiredError CLI::RequiresError CLI::RuntimeError CLI::Success CLI::ValidationError

Public Member Functions

CLI11_NODISCARD int get_exit_code () const
CLI11_NODISCARD std::string get_name () const
 Error (std::string name, std::string msg, int exit_code=static_cast< int >(ExitCodes::BaseClass))
 Error (std::string name, std::string msg, ExitCodes exit_code)

Detailed Description

All errors derive from this one.


The documentation for this class was generated from the following file: