123456789_123456789_123456789_123456789_123456789_

Exception: Gem::ImpossibleDependenciesError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Exception, RuntimeError
Instance Chain:
self, Exception, RuntimeError
Inherits: Gem::Exception
Defined in: lib/rubygems/exceptions.rb

Overview

Raised by Resolver when dependencies conflict and create the inability to find a valid possible spec for a request.

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(request, conflicts) ⇒ ImpossibleDependenciesError

[ GitHub ]

  
# File 'lib/rubygems/exceptions.rb', line 129

def initialize request, conflicts
  @request   = request
  @conflicts = conflicts

  super build_message
end

Instance Attribute Details

#conflicts (readonly)

[ GitHub ]

  
# File 'lib/rubygems/exceptions.rb', line 126

attr_reader :conflicts

#request (readonly)

[ GitHub ]

  
# File 'lib/rubygems/exceptions.rb', line 127

attr_reader :request

Instance Method Details

#dependency

[ GitHub ]

  
# File 'lib/rubygems/exceptions.rb', line 150

def dependency
  @request.dependency
end