diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-05-24 23:11:08 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-10-26 00:11:06 +0200 |
commit | ffb60ff427acd80e758d14c4b336a1317bfa8316 (patch) | |
tree | 771fe36d1860dc3191499baab2544a2d0c7653ab /tunnel/src/main/proto | |
parent | fbaccf246d122bbdf2c1ed05449b3c99b56dff9f (diff) |
tunnel: add Error in libwg.proto
Diffstat (limited to 'tunnel/src/main/proto')
-rw-r--r-- | tunnel/src/main/proto/libwg.proto | 11 |
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 { } |