Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize "TypeError: Failed to fetch" #10

Closed
Arual90 opened this issue Feb 12, 2018 · 1 comment
Closed

Normalize "TypeError: Failed to fetch" #10

Arual90 opened this issue Feb 12, 2018 · 1 comment
Assignees

Comments

@Arual90
Copy link
Contributor

Arual90 commented Feb 12, 2018

A fetch() promise rejects with a TypeError when a network error is encountered.

In this case the library user will not receive the correctly normalized error message but simply the TypeError "TypeError: Failed to fetch".
We might want to normalize it.

@Arual90 Arual90 self-assigned this Feb 12, 2018
@StefanoMagrassi
Copy link
Contributor

resolved by #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants