Exception: Zypper::Upgraderepo::NoConnection

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

Overview

No internet connection.

Instance Method Summary collapse

Constructor Details

#initializeNoConnection

Returns a new instance of NoConnection.



266
267
268
# File 'lib/zypper/upgraderepo/utils.rb', line 266

def initialize
  super "Internet connection has some trouble"
end

Instance Method Details

#error_codeObject



270
271
272
# File 'lib/zypper/upgraderepo/utils.rb', line 270

def error_code
  6
end