pub async fn handle_arangodb_response( resp: Result<Response>, code_test: fn(code: StatusCode) -> bool, ) -> Result<Response, String>