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-19 22:54:24 +0200 |
commit | 0a1560c72b4966375fc612e9624a781a4639f4f7 (patch) | |
tree | e1ac5b62551a2d04738f5ae5809d6eeae3fa83b3 | |
parent | 0e848735f473e58b1428ff42c5d1e5a27335b1c9 (diff) |
tunnel: add Error in libwg.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 { } |