Exception: Zypper::Upgraderepo::InvalidWritePermissions

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

Overview

Repository file writing not allowed.

Instance Method Summary collapse

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_codeObject



177
178
179
# File 'lib/zypper/upgraderepo/utils.rb', line 177

def error_code
  4
end