Skip to content

ArgotParseException

sealedextendsException

Base type for all user-input parsing failures. The cli wrapper prints usage and the message to stderr and exits 2.

ArgotParseException.kt

Properties

cause

open val cause: Throwable?

message

open val message: String?

usage

val usage: String?

The command's one-line usage string, attached by the engine before the exception escapes.

ArgotParseException.kt

Released under the Apache License 2.0.