Exception: CF::Exceptions::PreferenceSyncFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/corefoundation/exceptions.rb

Overview

Raised when the preference value failed to write.

Instance Method Summary collapse

Constructor Details

#initialize(key, domain, hostname = nil) ⇒ PreferenceSyncFailed

Returns a new instance of PreferenceSyncFailed.



11
12
13
# File 'lib/corefoundation/exceptions.rb', line 11

def initialize(key, domain, hostname = nil)
  super("Couldn't write preference value for \"#{key}\" in \"#{domain}\"#{", hostname: #{hostname}" if hostname}")
end