In our project we use React and axios for the API calls. What we need is to have default error handling which acts as a fallback if the error is not caught in the component that