Abort

class Abort(error: Boolean) : RuntimeException

An internal error that signals Clikt to abort.

Constructors

Abort
Link copied to clipboard
common
fun Abort(error: Boolean = true)

Properties

cause
Link copied to clipboard
common
open val cause: Throwable?
error
Link copied to clipboard
common
val error: Boolean = true
If true, print "Aborted" and exit with an error code.
message
Link copied to clipboard
common
open val message: String?