Exception: Zypper::Upgraderepo::InvalidProtocol

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

Overview

Invalid repository protocol.

Instance Method Summary collapse

Methods inherited from StandardError

#error_code

Constructor Details

#initialize(repo) ⇒ InvalidProtocol

Returns a new instance of InvalidProtocol.



155
156
157
# File 'lib/zypper/upgraderepo/utils.rb', line 155

def initialize(repo)
  super "The repository #{repo.name} has an unknown protocol: #{repo.protocol}; disable it to continue."
end