Exception: Zypper::Upgraderepo::UnmatchingOverrides

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

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ UnmatchingOverrides

Returns a new instance of UnmatchingOverrides.



121
122
123
# File 'lib/zypper/upgraderepo/utils.rb', line 121

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



125
126
127
# File 'lib/zypper/upgraderepo/utils.rb', line 125

def error_code
  9
end