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.



656
657
658
659
660
661
# File 'lib/dependabot/errors.rb', line 656

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.



653
654
655
# File 'lib/dependabot/errors.rb', line 653

def dependencies
  @dependencies
end