How do you detect if you have tried to add a record using API call AddRecord to a table with a non-unique field value for a field that is declared unique? Test for returned value of 0? Any other way? Any exceptions raised?