Exception: Dependabot::UpdateNotPossible

Inherits:
DependabotError show all
Extended by:
T::Sig
Defined in:
lib/dependabot/errors.rb

Overview

Dependency level errors #

Constant Summary

Constants inherited from DependabotError

DependabotError::BASIC_AUTH_REGEX, DependabotError::FURY_IO_PATH_REGEX

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dependencies) ⇒ UpdateNotPossible

Returns a new instance of UpdateNotPossible.



808
809
810
811
812
813
# File 'lib/dependabot/errors.rb', line 808

def initialize(dependencies)
  @dependencies = dependencies

  msg = "The following dependencies could not be updated: #{@dependencies.join(', ')}"
  super(msg)
end

Instance Attribute Details

#dependenciesObject (readonly)

Returns the value of attribute dependencies.



805
806
807
# File 'lib/dependabot/errors.rb', line 805

def dependencies
  @dependencies
end