Closed LukeSparkLayer closed 2 months ago
Thanks for your quick reviews @hgiasac. I have added the changes suggested. Let me know if there's any others needed.
@LukeSparkLayer the change looks good. However, you need to fix the error message in unit tests as well. We can merge after all tests are passed
This PR adds a new error type: NetworkError
This error contains the status code and response body which were previously returned as the error message.
This change has two benefits:
io.Reader
to reduce unnecessary data being passed around.~