lib/bundler/errors.rb in bundler-1.15.4 vs lib/bundler/errors.rb in bundler-1.16.0.pre.1

- old
+ new

@@ -1,5 +1,6 @@ # frozen_string_literal: true + module Bundler class BundlerError < StandardError def self.status_code(code) define_method(:status_code) { code } if match = BundlerError.all_errors.find {|_k, v| v == code }