Exception: Zypper::Upgraderepo::NoUnstableVersionAvailable

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

Overview

There are not unstable versions,

Instance Method Summary collapse

Constructor Details

#initializeNoUnstableVersionAvailable

Returns a new instance of NoUnstableVersionAvailable.



254
255
256
# File 'lib/zypper/upgraderepo/utils.rb', line 254

def initialize
  super "No unstable version is available, remove the --allow-unstable switch to continue"
end

Instance Method Details

#error_codeObject



258
259
260
# File 'lib/zypper/upgraderepo/utils.rb', line 258

def error_code
  11
end