Adds LoggedError Core Data entity

Allows us to save certain errors to disk so that they can be viewed again later from an error log.
This commit is contained in:
Riley Testut
2022-09-08 16:14:28 -05:00
committed by Joseph Mattello
parent 93cf9bf6a9
commit 728dcd8523
5 changed files with 148 additions and 15 deletions

View File

@@ -129,6 +129,8 @@ public class StoreApp: NSManagedObject, Decodable, Fetchable
@NSManaged @objc(source) public var _source: Source?
@NSManaged @objc(permissions) public var _permissions: NSOrderedSet
@NSManaged public private(set) var loggedErrors: NSSet /* Set<LoggedError> */ // Use NSSet to avoid eagerly fetching values.
@nonobjc public var source: Source? {
set {
self._source = newValue