Exception: Zypper::Upgraderepo::AlreadyUpgraded
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Zypper::Upgraderepo::AlreadyUpgraded
- Defined in:
- lib/zypper/upgraderepo/utils.rb
Overview
The system doesn’t require any upgrade.
Instance Method Summary collapse
- #error_code ⇒ Object
-
#initialize(version) ⇒ AlreadyUpgraded
constructor
A new instance of AlreadyUpgraded.
Constructor Details
#initialize(version) ⇒ AlreadyUpgraded
Returns a new instance of AlreadyUpgraded.
241 242 243 |
# File 'lib/zypper/upgraderepo/utils.rb', line 241 def initialize(version) super "The system is already upgraded to the #{version} version" end |
Instance Method Details
#error_code ⇒ Object
245 246 247 |
# File 'lib/zypper/upgraderepo/utils.rb', line 245 def error_code 2 end |