Closed
Description
In ArangoCollection.java
both the documentExists(key)
or the getDocument(key, type)
consume the errors, which makes it impossible to know if the document actually did not exist, or if there was a connection issue and we should try again later when the connectivity has been restored.
For example arangoDB.db("database").collection("collection").documentExists("document")
returns true if the document exists, but false for everything else, which includes document does not exist, database does not exist, collection does not exist, and any connection issues.