Exception: Zypper::Upgraderepo::NoUnstableVersionAvailable

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

Instance Method Summary collapse

Constructor Details

#initializeNoUnstableVersionAvailable

Returns a new instance of NoUnstableVersionAvailable.



141
142
143
# File 'lib/zypper/upgraderepo/utils.rb', line 141

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

Instance Method Details

#error_codeObject



145
146
147
# File 'lib/zypper/upgraderepo/utils.rb', line 145

def error_code
  11
end