This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
raise_error_unless_state(conflicts)
private
Raises a VersionConflict
error, or any underlying error, if there is no current state @return
[void]
# File lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb, line 324
def raise_error_unless_state(conflicts)
return if state
error = conflicts.values.map(&:underlying_error).compact.first
raise error || VersionConflict.new(conflicts, specification_provider)
end