If I call the unregister method on a geodatabase, I can it to unregister successfully.
But if, for some reason (say, a bug in my code or something outside my control like someone manually shifting geodatabase files around!), the code tried to unregister a geodatabase that had already been unregistered, how to I access the error message?
In fiddler I can see a JSON response along the lines of... code 404, 'Replica with GUID.... does not exist on the server...' etc. That's fine, but I can't seem to figure out where I can access this error message from within the code?