clikt / com.github.ajalt.clikt.core / Abort

Abort

class Abort : RuntimeException

An internal error that signals Clikt to abort.

Constructors

<init>

Abort(error: Boolean = true)

An internal error that signals Clikt to abort.

Properties

error

val error: Boolean

If true, print "Aborted" and exit with an error code. Otherwise, exit with no error code.