From 11da6118ad11188732182af2f0bc3b97395c4db6 Mon Sep 17 00:00:00 2001
From: Igor Melnichenko <i-melnichenko@yandex-team.ru>
Date: Thu, 22 Aug 2024 15:47:26 +0300
Subject: [PATCH] CLIENT_GRPC_ERROR was added to switch

---
 .../java/tech/ydb/yoj/repository/ydb/client/YdbValidator.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/repository-ydb-v2/src/main/java/tech/ydb/yoj/repository/ydb/client/YdbValidator.java b/repository-ydb-v2/src/main/java/tech/ydb/yoj/repository/ydb/client/YdbValidator.java
index b96cd503..8890a066 100644
--- a/repository-ydb-v2/src/main/java/tech/ydb/yoj/repository/ydb/client/YdbValidator.java
+++ b/repository-ydb-v2/src/main/java/tech/ydb/yoj/repository/ydb/client/YdbValidator.java
@@ -61,6 +61,7 @@ public static void validate(String request, StatusCode statusCode, String respon
                 throw new YdbOverloadedException(request, response);
 
             case CLIENT_CANCELLED:
+            case CLIENT_GRPC_ERROR:
             case CLIENT_INTERNAL_ERROR: // неизвестная ошибка на клиентской стороне (чаще всего транспортного уровня)
                 checkGrpcContextStatus(response, null);