react-relay-network-modern
react-relay-network-modern copied to clipboard
fix: adding req & res to RRNLRetryMiddlewareError
After switching to use the retry middleware, I missed being able to have access to the request & response objects.
This changes brings adds that info to RRNLRetryMiddlewareError like RRNLRequestError (https://github.com/relay-tools/react-relay-network-modern/blob/master/src/createRequestError.js#L86-L87)