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.



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

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

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



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

def status
  @status
end