open class MissingParameter : UsageError
A required parameter was not provided
MissingParameter(paramName: String, paramType: String = "parameter") MissingParameter(argument: Argument) MissingParameter(option: Option) |
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 |