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