Exception: Zypper::Upgraderepo::MissingOverride

Inherits:
StandardError
  • Object
show all
Defined in:
lib/zypper/upgraderepo/utils.rb

Overview

Repository with missing URL.

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ MissingOverride

Returns a new instance of MissingOverride.



213
214
215
216
# File 'lib/zypper/upgraderepo/utils.rb', line 213

def initialize(args)
  super "The repository n.#{args[:num].to_s.bold.red} named #{args[:ini]["name"].bold.red} " \
        "doesn't contain the URL key!"
end

Instance Method Details

#error_codeObject



218
219
220
# File 'lib/zypper/upgraderepo/utils.rb', line 218

def error_code
  8
end