Currently all Error enum fields are private, therefore there is no way for the application to analyze the response except by parsing the err.to_string() result, which is quite suboptimal. At least it would be great to have a way to access the GrpcMessageError structure in case when this it is the actual error variant, because it may contain server logic-defined payload.
Currently all
Error
enum fields are private, therefore there is no way for the application to analyze the response except by parsing theerr.to_string()
result, which is quite suboptimal. At least it would be great to have a way to access theGrpcMessageError
structure in case when this it is the actual error variant, because it may contain server logic-defined payload.