implement automatic help

This commit is contained in:
2026-01-07 18:53:35 +01:00
parent 4e9b358ef8
commit ecd255479a
18 changed files with 277 additions and 88 deletions

View File

@@ -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"}"""
}