Exception: Zypper::Upgraderepo::UnableToUpgrade
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Zypper::Upgraderepo::UnableToUpgrade
- Defined in:
- lib/zypper/upgraderepo/utils.rb
Overview
The repository URL can’t be interpolated.
Instance Method Summary collapse
- #error_code ⇒ Object
-
#initialize(args) ⇒ UnableToUpgrade
constructor
A new instance of UnableToUpgrade.
Constructor Details
#initialize(args) ⇒ UnableToUpgrade
Returns a new instance of UnableToUpgrade.
199 200 201 202 |
# File 'lib/zypper/upgraderepo/utils.rb', line 199 def initialize(args) super "The repository n.#{args[:num].to_s.bold.red} named #{args[:repo].name.bold.red} " \ "can't be upgraded, a manual check is required!" end |
Instance Method Details
#error_code ⇒ Object
204 205 206 |
# File 'lib/zypper/upgraderepo/utils.rb', line 204 def error_code 7 end |