module SimpleCov

def exit_status_from_exception

Other tags:
    Api: - private — returns the exit status from the exit exception.
def exit_status_from_exception
  @exit_exception = $ERROR_INFO
  return nil unless @exit_exception
  if @exit_exception.is_a?(SystemExit)
    @exit_exception.status
  else
    SimpleCov::ExitCodes::EXCEPTION
  end
end