Javascript – Fetch api error throwing cannot be caught
I'm developing a react app. I'm trying to catch an error and bubble it up to my ErrorBoundary component. The ErrorBoundary component is the direct parent of the component where I'm sending the request. I've tested throwing a random error…