Exception: Zypper::Upgraderepo::UnmatchingOverrides

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

Overview

Repository overrides failure.

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ UnmatchingOverrides

Returns a new instance of UnmatchingOverrides.



227
228
229
230
# File 'lib/zypper/upgraderepo/utils.rb', line 227

def initialize(args)
  super "The repository n.#{args[:num]} named #{args[:repo].name.bold.red} doesn't match with " \
        "the repository named #{args[:ini]["name"].bold.red} in the ini file"
end

Instance Method Details

#error_codeObject



232
233
234
# File 'lib/zypper/upgraderepo/utils.rb', line 232

def error_code
  9
end