From 4de219e116c94179c9a8df3624114adc9712eebe 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(+) (limited to 'tunnel/src/main/proto') 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