ArgotParseException

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

Inheritors

Types

Link copied to clipboard

A single-valued option was supplied more than once.

Link copied to clipboard
class InvalidValue(val name: String, val raw: String, val expectedType: String) : ArgotParseException

A converter rejected a value.

Link copied to clipboard

A required positional argument was not supplied.

Link copied to clipboard

A required option was not supplied.

Link copied to clipboard

An option that expects a value was supplied without one.

Link copied to clipboard

More positional arguments were supplied than the command declares.

Link copied to clipboard

An unrecognized option or flag name was supplied.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

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