exit

protected open fun exit(errorMessage: String)

Method to print an error occurred and exit with status code 1

Parameters

errorMessage

: error message to print