Exception: Gem::DependencyResolutionError
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: | |
| Instance Chain: 
          self,
           DependencyError,Exception,
          RuntimeError | |
| Inherits: | Gem::DependencyError 
 | 
| Defined in: | lib/rubygems/exceptions.rb | 
Overview
Raised by Resolver when a Gem::Dependency::Conflict reaches the toplevel.  Indicates which dependencies were incompatible through #conflict and #conflicting_dependencies
Class Method Summary
- .new(conflict) ⇒ DependencyResolutionError constructor
Deprecate - Extended
| deprecate | Simple deprecation method that deprecates  | 
| skip_during | Temporarily turn off warnings. | 
Instance Attribute Summary
Instance Method Summary
Constructor Details
    .new(conflict)  ⇒ DependencyResolutionError 
  
# File 'lib/rubygems/exceptions.rb', line 36
def initialize(conflict) @conflict = conflict a, b = conflicting_dependencies super "conflicting dependencies #{a} and #{b}\n#{@conflict.explanation}" end
Instance Attribute Details
#conflict (readonly)
[ GitHub ]# File 'lib/rubygems/exceptions.rb', line 34
attr_reader :conflict
Instance Method Details
#conflicting_dependencies
[ GitHub ]# File 'lib/rubygems/exceptions.rb', line 43
def conflicting_dependencies @conflict.conflicting_dependencies end