getExitCode

abstract fun getExitCode(exception: Throwable): Int

Returns the exit code that should be returned from the application.

Return

the exit code or 0.

Parameters

exception

the exception causing the application to exit