getExitCode abstract method
Returns an integer exit code based on the given exception
.
This method should implement logic to inspect the exception type, message, or other properties to determine which code to return.
Implementation
int getExitCode(Exception exception);