github.com/kaydxh/golang@v0.0.131/pkg/middleware/api/trivial/v2/api.proto (about) 1 syntax = "proto3"; 2 3 package api.trivial.v2; 4 5 option go_package = "github.com/kaydxh/golang/pkg/middleware/api/trivial/v2;v2"; 6 7 // ErrorResponse 8 message ErrorResponse { 9 string request_id = 1 [json_name = "RequestId"]; 10 TCloudError error = 1000 [json_name = "Error"]; 11 } 12 13 message TCloudError { 14 string code = 1 [json_name = "Code"]; 15 string message = 2 [json_name = "Message"]; 16 }