implement automatic help
This commit is contained in:
@@ -7,5 +7,5 @@ class InvalidValue(
|
||||
val type: KClass<*>,
|
||||
) : RunException() {
|
||||
override val message: String
|
||||
get() = """"$value" cannot be converted to ${type.simpleName}"""
|
||||
get() = """"$value" cannot be converted to ${type.simpleName ?: "Unknown"}"""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user