PrefsError

public enum PrefsError : Error

Errors that Can be thrown from methods in this class

  • Some elements were presented that do not fit our keys. The associated value is an Array of the failing keys.

    Declaration

    Swift

    case incorrectKeys(invalidElements: [String])
  • Not all of the elements in the _values Dictionary are Plist-Compatible. The associated value is an Array of the failing keys.

    Declaration

    Swift

    case valuesNotPlistCompatible(invalidElements: [String])
  • We were not able to find a stored pref for the given key. The associated value is the key we are looking for.

    Declaration

    Swift

    case noStoredPrefsForKey(key: String)
  • Unknown thrown error. The associated value is the error (if any).

    Declaration

    Swift

    case unknownError(error: Error?)