Exception: Dependabot::NpmAndYarn::UpdateChecker::LatestVersionFinder::RegistryError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status, msg) ⇒ RegistryError

Returns a new instance of RegistryError.



17
18
19
20
# File 'lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb', line 17

def initialize(status, msg)
  @status = status
  super(msg)
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



15
16
17
# File 'lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb', line 15

def status
  @status
end