Exception: Zypper::Upgraderepo::MissingOverride

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

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ MissingOverride

Returns a new instance of MissingOverride.



111
112
113
# File 'lib/zypper/upgraderepo/utils.rb', line 111

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



115
116
117
# File 'lib/zypper/upgraderepo/utils.rb', line 115

def error_code
  8
end