Errors do not cause rejection, as documented #27
Labels
No labels
bug
dependencies
duplicate
enhancement
help wanted
invalid
javascript
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gucheen/fetchql#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The docs say:
The code for this is here:
gucheen/fetchql@07d08bef9b/src/index.js (L184-L199)In reality, the promise is only rejected if no data is returned. If data is returned and errors exist, the promise will resolve successfully with the data, ignoring the errors.
Thanks, I've fixed the document