Exception: Zypper::Upgraderepo::SystemUpdateRunning

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

Overview

An application is running an update.

Instance Method Summary collapse

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_codeObject



190
191
192
# File 'lib/zypper/upgraderepo/utils.rb', line 190

def error_code
  5
end