sharg 1.0.0
THE argument parser for bio-c++ tools.
exceptions.hpp File Reference

Provides parser related exceptions. More...

#include <stdexcept>
#include <sharg/platform.hpp>
+ Include dependency graph for exceptions.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sharg::design_error
 Parser exception that is thrown whenever there is an design error directed at the developer of the application (e.g. Reuse of option). More...
 
class  sharg::option_declared_multiple_times
 Parser exception thrown when a non-list option is declared multiple times. More...
 
class  sharg::parser_error
 Parser exception that is thrown whenever there is an error while parsing the command line arguments. More...
 
class  sharg::required_option_missing
 Parser exception thrown when a required option is missing. More...
 
class  sharg::too_few_arguments
 Parser exception thrown when too few arguments are provided. More...
 
class  sharg::too_many_arguments
 Parser exception thrown when too many arguments are provided. More...
 
class  sharg::unknown_option
 Parser exception thrown when encountering unknown option. More...
 
class  sharg::user_input_error
 Parser exception thrown when an incorrect argument is given as (positional) option value. More...
 
class  sharg::validation_error
 Parser exception thrown when an argument could not be casted to the according type. More...
 

Detailed Description

Provides parser related exceptions.

Author
Svenja Mehringer <svenja.mehringer AT fu-berlin.de>