Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

Find a better way to handle errors #1

Open
cvburgess opened this issue Nov 2, 2017 · 0 comments
Open

Find a better way to handle errors #1

cvburgess opened this issue Nov 2, 2017 · 0 comments

Comments

@cvburgess
Copy link
Contributor

The current way of preventing errors from "bleeding" through from the child component is primitive and brittle:

const isAxiosError = Object.keys(error).includes("request"); // crude, but works

A cleaner way to prevent child errors from bubbling up would be ideal.

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

No branches or pull requests

1 participant