Exception: Zypper::Upgraderepo::MissingOverride
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Zypper::Upgraderepo::MissingOverride
- Defined in:
- lib/zypper/upgraderepo/utils.rb
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.
111 112 113 |
# File 'lib/zypper/upgraderepo/utils.rb', line 111 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
115 116 117 |
# File 'lib/zypper/upgraderepo/utils.rb', line 115 def error_code 8 end |