Exception: Zypper::Upgraderepo::UnmatchingOverrides
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Zypper::Upgraderepo::UnmatchingOverrides
- Defined in:
- lib/zypper/upgraderepo/utils.rb
Overview
Repository overrides failure.
Instance Method Summary collapse
- #error_code ⇒ Object
-
#initialize(args) ⇒ UnmatchingOverrides
constructor
A new instance of UnmatchingOverrides.
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_code ⇒ Object
232 233 234 |
# File 'lib/zypper/upgraderepo/utils.rb', line 232 def error_code 9 end |