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