Catching error fault / codes

1932
0
07-29-2015 01:41 PM
EvelynHernandez
Occasional Contributor III

Hello,

Im wondering if theres a way to catch an specific error when you try to add a new data in a featurelayer using the applyedits.

For example when its onfault it can be for 3 situations:

1.- the rest srv is down or something happen with the access

2.- some fields are not specified well

3.- the next data u wanna add is already added (duplicity cuz u hace in ur table unique indexes).

I wanna put different msgs for all of possible errors.

Is there any way to do that?

Thanks in advice.

0 Kudos
0 Replies