Exception: BPM::PackageConflictError

Inherits:
Error
  • Object
show all
Defined in:
lib/bpm/errors.rb

Direct Known Subclasses

LocalPackageConflictError

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from BPM::Error

Instance Method Details

#format_message(name, version_a, version_b) ⇒ Object



45
46
47
# File 'lib/bpm/errors.rb', line 45

def format_message(name, version_a, version_b)
  "Conflicting requirement for '#{name}' (requires #{version_a} and #{version_b})"
end