Searched refs:OptionValueError (Results 1 – 4 of 4) sorted by relevance
126 class OptionValueError (OptParseError): class429 raise OptionValueError(437 raise OptionValueError(1401 except (BadOptionError, OptionValueError), err:
23 BadOptionError, OptionValueError, Values456 raise OptionValueError(1034 raise OptionValueError("%s: file does not exist" % value)1036 raise OptionValueError("%s: not a regular file" % value)
1317 :exc:`OptionValueError` if an invalid string is given.1678 The callback function should raise :exc:`OptionValueError` if there are any1711 raise OptionValueError("can't use -a after -b")1729 raise OptionValueError("can't use %s after -b" % opt_str)1748 raise OptionValueError("%s option invalid when moon is full"1880 Your type-checking function should raise :exc:`OptionValueError` if it1881 encounters any problems. :exc:`OptionValueError` takes a single string1894 from optparse import Option, OptionValueError1903 raise OptionValueError(
1953 :exc:`optparse.OptionError` and :exc:`optparse.OptionValueError` with