ProgramResult

open class ProgramResult(statusCode: Int) : CliktError

Indicate that the program finished in a controlled manner, and should complete with the given statusCode

Inheritors

Constructors

Link copied to clipboard
constructor(statusCode: Int)

Properties

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

If true, the error message should be printed to stderr.

Link copied to clipboard

The value to use as the exit code for the process.