PersistenceError

public enum PersistenceError : Error
extension PersistenceError: 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 record
    • key: the key of the unfound record (column and values)

    Declaration

    Swift

    case recordNotFound(databaseTableName: String, key: [String : DatabaseValue])