reugn opened a new pull request, #1321:
URL: https://github.com/apache/pulsar-client-go/pull/1321

   ### Motivation
   
   This pull request wraps errors using `%w` to preserve the original error and 
provide more meaningful error messages.
   
   ### Modifications
   
   * Wrap errors using `%w` to preserve context
   * Handle errors using `errors.Is()`
   * Remove unreachable code
   * Fix typos
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ### Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes / **no**)
     - The public API: (yes / **no**)
     - The schema: (yes / **no** / don't know)
     - The default values of configurations: (yes / **no**)
     - The wire protocol: (yes / **no**)
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (yes / **no**)
   


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