How can I see if there is an exception in the delete operation?

Is there a way to know when the deletion operation is failed? I don't see that the client delete operation throws any exception.
Does it make this operation via a REST call? cause it says in the documentation that there is no indication for a failure on that: "The delete operation will always return the the above result, even if the document did not exists. This is done for performance reasons."