clikt / com.github.ajalt.clikt.core / CliktError

CliktError

open class CliktError : RuntimeException

An exception during command line processing that should be shown to the user.

If calling CliktCommand.main, these exceptions will be caught and the appropriate info will be printed.

Constructors

<init>

CliktError(message: String? = null, cause: Exception? = null)

An exception during command line processing that should be shown to the user.

Inheritors

PrintHelpMessage

class PrintHelpMessage : CliktError

An exception that indicates that the command's help should be printed.

PrintMessage

class PrintMessage : CliktError

An exception that indicates that a message should be printed.

UsageError

open class UsageError : CliktError

An internal exception that signals a usage error.