add one more constructor for DeleteResponse
improve error handling