Exception: Zypper::Upgraderepo::NoConnection
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Zypper::Upgraderepo::NoConnection
- Defined in:
- lib/zypper/upgraderepo/utils.rb
Overview
No internet connection.
Instance Method Summary collapse
- #error_code ⇒ Object
-
#initialize ⇒ NoConnection
constructor
A new instance of NoConnection.
Constructor Details
#initialize ⇒ NoConnection
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_code ⇒ Object
270 271 272 |
# File 'lib/zypper/upgraderepo/utils.rb', line 270 def error_code 6 end |