module Tryouts::ClassMethods

def batch_stopping_error?(exception)

Determine if an error should stop batch execution
def batch_stopping_error?(exception)
  classification = classify_error(exception)
  [:non_recoverable_exit, :system_resource, :syntax].include?(classification)
end