Exception: Zypper::Upgraderepo::InvalidWritePermissions
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Zypper::Upgraderepo::InvalidWritePermissions
- Defined in:
- lib/zypper/upgraderepo/utils.rb
Overview
Repository file writing not allowed.
Instance Method Summary collapse
- #error_code ⇒ Object
-
#initialize(filename) ⇒ InvalidWritePermissions
constructor
A new instance of InvalidWritePermissions.
Constructor Details
#initialize(filename) ⇒ InvalidWritePermissions
Returns a new instance of InvalidWritePermissions.
173 174 175 |
# File 'lib/zypper/upgraderepo/utils.rb', line 173 def initialize(filename) super "Don't have the right permission to write #{filename}" end |
Instance Method Details
#error_code ⇒ Object
177 178 179 |
# File 'lib/zypper/upgraderepo/utils.rb', line 177 def error_code 4 end |