Revert "Add error info"

This reverts commit 5b0dc19
This commit is contained in:
Nex
2018-10-09 15:42:25 +08:00
parent 2ef4f77678
commit 645f0d0f9f
3 changed files with 10 additions and 31 deletions

View File

@@ -7,16 +7,8 @@ option java_package = "bdchain.api.grpc";
option java_outer_classname = "CommonProto";
option java_multiple_files = true;
message Error {
string code = 1; // One of a server-defined set of error codes.
string message = 2; // A human-readable representation of the error.
string target = 3; // The target of the error.
repeated Error details = 4; // An array of details about specific errors that led to this reported error.
}
message ClientVersionResponse {
Error error = 1;
string version = 2; // 节点客户端版本
string version = 1; // 节点客户端版本
}
/* 事务类型 */