Exception: Zypper::Upgraderepo::MissingOverride
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Zypper::Upgraderepo::MissingOverride
- Defined in:
- lib/zypper/upgraderepo/utils.rb
Overview
Repository with missing URL.
Instance Method Summary collapse
- #error_code ⇒ Object
-
#initialize(args) ⇒ MissingOverride
constructor
A new instance of MissingOverride.
Constructor Details
#initialize(args) ⇒ MissingOverride
Returns a new instance of MissingOverride.
213 214 215 216 |
# File 'lib/zypper/upgraderepo/utils.rb', line 213 def initialize(args) super "The repository n.#{args[:num].to_s.bold.red} named #{args[:ini]["name"].bold.red} " \ "doesn't contain the URL key!" end |
Instance Method Details
#error_code ⇒ Object
218 219 220 |
# File 'lib/zypper/upgraderepo/utils.rb', line 218 def error_code 8 end |