class CF::Exceptions::PreferenceDoesNotExist

Raised when the preference value couldn’t be found for a domain.

Public Class Methods

new(key, domain, hostname = nil) click to toggle source
Calls superclass method
# File lib/corefoundation/exceptions.rb, line 5
def initialize(key, domain, hostname = nil)
  super("Returned NULL value for \"#{key}\" in \"#{domain}\"#{", hostname: #{hostname}" if hostname}")
end