PersistenceError
public enum PersistenceError : Error, CustomStringConvertible
An error thrown by a type that adopts PersistableRecord.
-
Thrown by MutablePersistableRecord.update() when no matching row could be found in the database.
- databaseTableName: the table of the unfound record
- key: the key of the unfound record (column and values)
Declaration
Swift
case recordNotFound(databaseTableName: String, key: [String : DatabaseValue])