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.



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

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

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



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

def status
  @status
end