Add error info
This commit is contained in:
@@ -20,11 +20,12 @@ message CreateLedgerRequest {
|
||||
string name = 1;
|
||||
}
|
||||
message CreateLedgerResponse {
|
||||
bool ok = 1;
|
||||
Error error = 1;
|
||||
}
|
||||
|
||||
message GetLedgersResponse {
|
||||
repeated string ledgers = 1;
|
||||
Error error = 1;
|
||||
repeated string ledgers = 2;
|
||||
}
|
||||
|
||||
message SendTransactionRequest {
|
||||
@@ -38,5 +39,6 @@ message SendTransactionRequest {
|
||||
Transaction transaction = 2;
|
||||
}
|
||||
message SendTransactionResponse {
|
||||
bytes hash = 1;
|
||||
Error error = 1;
|
||||
bytes hash = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user