From 1b5e3dfc3b6c0748c1204e26b075a6478a65d496 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 24 May 2023 23:11:08 +0200 Subject: tunnel: add Error in libwg.proto --- tunnel/src/main/proto/libwg.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tunnel/src/main/proto/libwg.proto b/tunnel/src/main/proto/libwg.proto index 2d964897..4c741b15 100644 --- a/tunnel/src/main/proto/libwg.proto +++ b/tunnel/src/main/proto/libwg.proto @@ -13,6 +13,17 @@ service Libwg { rpc Version(VersionRequest) returns (VersionResponse); } +message Error { + enum Code { + NO_ERROR = 0; + UNSPECIFIED = 1; + INVALID_PROTOCOL_BUFFER = 2; + INVALID_RESPONSE = 3; + } + Code code = 1; + string message = 2; +} + message StopGrpcRequest { } -- cgit v1.2.3