Open mstanton1 opened 2 hours ago
Steps for this are make the modal at a high enough level to be on every page Override our bcros fetch to catch errors and if its a 500 emit the show modal event Otherwise it should pass on the error (because 400 should be handled individually)
Should catch errors for all api calls including legal/etc
When a user hits an unhandled error we present a generic error modal. This ticket is to implement the modal.
<img width="649" src="https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBMTZLQnc9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--8f0c3bbe5b5b2fece557dc3f012f1d7322dac576/image.png" alt="image.png" />
Figma Link: https://www.figma.com/design/4oi1IWHe0DmbY8EZk3Srs3/Add%2Fedit-SI?node-id=2332-24894&t=o9lJSYnClmm0nmmQ-1