OptionParser.OptionParserException
Overview
Base exception for all OptionParser exceptions.
It will be raised, however, in two primary situations
- Invalid use of the
Optionclass, for example, you attempt to add a new option but do not give a short or long option name. - If the
OptionParserhas theExtrasRequiredparameter set and that value has not been met by the user.