Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.0.0
-
None
Description
At least with the iOS implementation, if a contact has already been deleted, calling Contact.remove() on it results in an error as expected; however, the error code is 0 (UNKNOWN_ERROR), which gives the app no clue as to what happened.
It would be nice if the error code could indicate that removal failed because the contact has already been deleted.
Suggested fix: Add an error code, NONEXISTENT, that would be used to indicate that the device has no contact with the supplied ID.