Before this we added a typed error on publish package to determine what
errors that should be retried and exclude request error like io.ErrUnexpectedEOF.
Problem is that error can happens on request parse too.
This commit fix the issue by separating request error and fetch error
into separate type.
Before this we added a typed error on publish package to determine what errors that should be retried and exclude request error like io.ErrUnexpectedEOF.
Problem is that error can happens on request parse too.
This commit fix the issue by separating request error and fetch error into separate type.
Fixes #368