When deleting a Data Object, if an error occurs, we should set an error