Exception: Zypper::Upgraderepo::SystemUpdateRunning
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Zypper::Upgraderepo::SystemUpdateRunning
- Defined in:
- lib/zypper/upgraderepo/utils.rb
Overview
An application is running an update.
Instance Method Summary collapse
- #error_code ⇒ Object
-
#initialize(args) ⇒ SystemUpdateRunning
constructor
A new instance of SystemUpdateRunning.
Constructor Details
#initialize(args) ⇒ SystemUpdateRunning
Returns a new instance of SystemUpdateRunning.
186 187 188 |
# File 'lib/zypper/upgraderepo/utils.rb', line 186 def initialize(args) super "The application #{args[:process].bold} with pid #{args[:pid].bold} is running a system update!" end |
Instance Method Details
#error_code ⇒ Object
190 191 192 |
# File 'lib/zypper/upgraderepo/utils.rb', line 190 def error_code 5 end |