Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Reference error classes from the core bundle in fetchers#332

Open
tniezg wants to merge 1 commit intospree:mainfrom
tniezg:fix-error-classes-references-in-fetchers
Open

Reference error classes from the core bundle in fetchers#332
tniezg wants to merge 1 commit intospree:mainfrom
tniezg:fix-error-classes-references-in-fetchers

Conversation

@tniezg
Copy link
Copy Markdown
Contributor

@tniezg tniezg commented Feb 2, 2022

For instanceof to properly recognize errors in the HTTP class, fetchers need to reference errors from @spree/storefront-api-v2-sdk and not from sources.

For `instanceof` to properly recognize errors in the `HTTP` class,
fetchers need to reference errors from `@spree/storefront-api-v2-sdk`
and not from sources which duplicates error classes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant