This method is only available on newer versions. The first available version (v2_6_3) is shown here.
exit_on_failure?()
A flag that makes the process exit with status 1 if any error happens.
# File lib/bundler/vendor/thor/lib/thor/base.rb, line 646 def exit_on_failure? false end