From b3a67ffc008c8f8110e5de1e56b2e0595077d8ed Mon Sep 17 00:00:00 2001 From: hdbg Date: Wed, 11 Mar 2026 16:36:25 +0100 Subject: [PATCH] feat(server::client): proper connect error --- protobufs/client.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/protobufs/client.proto b/protobufs/client.proto index c23ed24..bd430bf 100644 --- a/protobufs/client.proto +++ b/protobufs/client.proto @@ -24,9 +24,19 @@ message ClientRequest { } } +message ClientConnectError { + enum Code { + UNKNOWN = 0; + APPROVAL_DENIED = 1; + NO_USER_AGENTS_ONLINE = 2; + } + Code code = 1; +} + message ClientResponse { oneof payload { AuthChallenge auth_challenge = 1; AuthOk auth_ok = 2; + ClientConnectError client_connect_error = 5; } }