-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
2 - S (<= 1 week)
-
Incrementals
-
2659
Goals
Use a custom Error subclass or some other way to programmatically distinguish Realm errors.
Expected Results
To be able to distinguish Realm errors, e.g. err instanceof RealmError. Or maybe some pattern in a message, like err.message.startsWith("Realm:").
Version of Realm and Tooling
- Realm JS SDK Version: 3.5.0
- Node or React Native: Node