tisonkun commented on issue #1142:
URL: 
https://github.com/apache/pulsar-client-go/issues/1142#issuecomment-1845114696

   > compare errors (errors.Is/As)
   
   A rough approach is sorting out all the errors we return now and move them 
to a public package (`pulsar/error.go`) and gradually expose consts on demand 
(i.e., we first factor out all error "literals" to constants, but by default 
it's private).
   
   Still, user cases that need to handle concrete errors specially help us 
formalize the API.


-- 
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]

Reply via email to