Enums
The following enums are available globally.
-
Enumeration that describes the error codes within the Realm error domain. The values can be used to catch a variety of recoverable errors, especially those happening when initializing a Realm instance.
See morelet realm: Realm? do { realm = Realm() } catch RealmSwift.Error.IncompatibleLockFile() { print("Realm Browser app may be attached to Realm on device?") }
Declaration
Swift
public enum Error: ErrorType
-
A notification due to changes to a realm.
See moreDeclaration
Swift
public enum Notification: String