Exception: Dependabot::DependencyNotFound

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

Constant Summary

Constants inherited from DependabotError

Dependabot::DependabotError::BASIC_AUTH_REGEX, Dependabot::DependabotError::FURY_IO_PATH_REGEX

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source) ⇒ DependencyNotFound

Returns a new instance of DependencyNotFound.



600
601
602
603
604
# File 'lib/dependabot/errors.rb', line 600

def initialize(source)
  @source = T.let(sanitize_source(T.must(source)), String)
  msg = "The following dependency could not be found : #{@source}"
  super(msg)
end

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source.



597
598
599
# File 'lib/dependabot/errors.rb', line 597

def source
  @source
end