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

Name Summary
<init> An exception during command line processing that should be shown to the user.CliktError(message:String? = null, cause:Exception? = null)

Inheritors

Name Summary
PrintHelpMessage An exception that indicates that the command’s help should be printed.class PrintHelpMessage :CliktError
PrintMessage An exception that indicates that a message should be printed.open class PrintMessage :CliktError
UsageError An internal exception that signals a usage error.open class UsageError :CliktError