org.rogach.scallop.exceptions
Type members
Classlikes
Thrown when user provides excess arguments that can't be matched by trailing arg options.
Thrown when user provides excess arguments that can't be matched by trailing arg options.
Extractor object, for matching on both Help and Version results.
Extractor object, for matching on both Help and Version results.
Exception class for cases which didn't fit into other exception classes.
Exception class for cases which didn't fit into other exception classes.
Thrown when user requested help output (via "--help").
Thrown when user requested help output (via "--help").
Thrown when several options and/or trailing arguments have identical names in definition - making it impossible to distinguish between them.
Thrown when several options and/or trailing arguments have identical names in definition - making it impossible to distinguish between them.
Thrown when user tried to create an option with some illegal parameters - for example, with digit as the first character in opton name.
Thrown when user tried to create an option with some illegal parameters - for example, with digit as the first character in opton name.
Thrown when user tried to extract the value of an option before the call to verify in ScallopConf.
Thrown when user tried to extract the value of an option before the call to verify in ScallopConf.
This is a special case of exception - the one you should never see. If you actually saw it, there is a sure bug lurking somewhere. In such cases, please file a bug on project page!
This is a special case of exception - the one you should never see. If you actually saw it, there is a sure bug lurking somewhere. In such cases, please file a bug on project page!
Wrapper exception for cases when internal reflective mechanics fail
Wrapper exception for cases when internal reflective mechanics fail
Thrown when option name guessing fails on one of the options.
Thrown when option name guessing fails on one of the options.
Thrown when option name guessing is not available on the platform (currently JS and Native).
Thrown when option name guessing is not available on the platform (currently JS and Native).
Thrown when option reader failed to read options from stdin or file.
Thrown when option reader failed to read options from stdin or file.
Thrown when parser failed to find arguments to option (marked as 'required') in the input arguments.
Thrown when parser failed to find arguments to option (marked as 'required') in the input arguments.
Parent class for all exceptions thrown from this library.
Parent class for all exceptions thrown from this library.
- Companion
- object
Extractor object, for matching on all exceptions.
Extractor object, for matching on all exceptions.
- Companion
- class
Parent trait for all not-positive results that can be resulted from this library (including help and exits)
Parent trait for all not-positive results that can be resulted from this library (including help and exits)
Thrown when user provides Scallop with unknown option name in the arguments or requests unknown option result from parser.
Thrown when user provides Scallop with unknown option name in the arguments or requests unknown option result from parser.
Thrown when user requested version printout (via "--version").
Thrown when user requested version printout (via "--version").
Thrown when arguments to some option do not satisfy that option's value converter (it returns Left in such case).
Thrown when arguments to some option do not satisfy that option's value converter (it returns Left in such case).