node-fetch v1.5.0 Release Notes
-
- ✨ Enhance: rejected promise now use custom
Error
(thx to @pekeler) - ✨ Enhance:
FetchError
containserr.type
anderr.code
, allows for better error handling (thx to @pekeler) - ✨ Enhance: basic support for redirect mode
manual
anderror
, allows for location header extraction (thx to @jimmywarting for the initial PR)
- ✨ Enhance: rejected promise now use custom