ExitCodeExceptionMapper

Strategy interface that can be used to provide a mapping between exceptions and exit codes.

Author

Phillip Webb

Since

1.3.2

Functions

Link copied to clipboard
abstract fun getExitCode(exception: Throwable): Int
Returns the exit code that should be returned from the application.