handleFatal

open fun handleFatal(e: Throwable)

Handle an exception and exit the program with exit a non zero exit code.

Parameters

e

The exception to handle.


open fun handleFatal(e: Throwable, exitCode: Int)

Handle an exception and exit the program with exit a non zero exit code.

Parameters

e

The exception to handle.

exitCode

The exit code to report.