Exception: Dependabot::DependencyNotFound
- Inherits:
-
DependabotError
- Object
- StandardError
- DependabotError
- Dependabot::DependencyNotFound
- 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
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source) ⇒ DependencyNotFound
constructor
A new instance of DependencyNotFound.
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
#source ⇒ Object (readonly)
Returns the value of attribute source.
597 598 599 |
# File 'lib/dependabot/errors.rb', line 597 def source @source end |