Exception: Zypper::Upgraderepo::UnableToUpgrade
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Zypper::Upgraderepo::UnableToUpgrade
- Defined in:
- lib/zypper/upgraderepo/utils.rb
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.
101 102 103 |
# File 'lib/zypper/upgraderepo/utils.rb', line 101 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
105 106 107 |
# File 'lib/zypper/upgraderepo/utils.rb', line 105 def error_code 7 end |