Exception: Dependabot::PathDependenciesNotReachable

Inherits:
DependabotError
  • Object
show all
Defined in:
lib/dependabot/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*dependencies) ⇒ PathDependenciesNotReachable

Returns a new instance of PathDependenciesNotReachable.



172
173
174
175
176
177
# File 'lib/dependabot/errors.rb', line 172

def initialize(*dependencies)
  @dependencies = dependencies.flatten
  msg = "The following path based dependencies could not be retrieved: "\
        "#{dependencies.join(', ')}"
  super(msg)
end

Instance Attribute Details

#dependenciesObject (readonly)

Returns the value of attribute dependencies.



170
171
172
# File 'lib/dependabot/errors.rb', line 170

def dependencies
  @dependencies
end