summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-05-24 23:11:08 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2023-06-01 21:08:02 +0200
commit289b74668b3885697a7b822d8cd0f763affbb9aa (patch)
tree62e2f07a45cca5025731c140911fcd3d6d9e164a
parent9bbceb1fb119aeea56451c0d03f7315a9a329656 (diff)
tunnel: add Error in libwg.proto
-rw-r--r--tunnel/src/main/proto/libwg.proto11
1 files changed, 11 insertions, 0 deletions
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 {
}