open class NoSuchOption : UsageError
An option was provided that does not exist.
NoSuchOption(givenName: String, possibilities: List<String> = emptyList())
An option was provided that does not exist. |
val givenName: String |
|
val possibilities: List<String> |
var argument: Argument?
The argument that caused this error. This may be set after the error is thrown. |
|
open val message: String? |
|
var option: Option?
The option that caused this error. This may be set after the error is thrown. |
|
var paramName: String?
The name of the parameter that caused the error. If possible, this should be set to the actual name used. If not set, it will be inferred from argument or option if either is set. |
|
val text: String?
Extra text to add to the message. Not all subclasses uses this. |
open fun formatMessage(): String |
fun helpMessage(context: Context? = null): String |
|
fun inferParamName(): String |