glynnbird commented on PR #358:
URL: https://github.com/apache/couchdb-nano/pull/358#issuecomment-3292010913

   My point is that if we got with your PR as is (where priority is given to 
the `response.message` field) the Node.js user gets a worse experience.
   
   |      | response.cause                             | response.message       
                                    |
   
|------|--------------------------------------------|------------------------------------------------------------|
   | Node | Error: connect ECONNREFUSED 127.0.0.1:9999 | fetch failed           
                                    |
   | Bun  | undefined                                  | Unable to connect. Is 
the computer able to access the url? |
   
   Basically we `response.cause` is the best option for Node and 
`response.message` is the best option for Bun.


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