BewareMyPower commented on code in PR #984:
URL: https://github.com/apache/pulsar-client-go/pull/984#discussion_r1147269531
##########
pulsar/error.go:
##########
@@ -225,3 +226,14 @@ func getResultStr(r Result) string {
return fmt.Sprintf("Result(%d)", r)
}
}
+
+func getErrorFromServerError(serverError *proto.ServerError) error {
Review Comment:
@liangyepianzhou Please also take a look at this comment. I've thought
`Result` and `proto.ServerError` should be just the same before, but it seems
that they are already different currently.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]