You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: A section that will be displayed when there's an irrecoverable error. Once this section is active, the app will show the error and wait for the user to quit the app. This is the only section that might never be active, but it's important to have it in the flow of the app, so that the app can handle errors gracefully.
lucas-labs
changed the title
✨ » implement the Loading and Error components and logic:
✨ » implement the Loading and Error components and logic
Sep 26, 2024
lucas-labs
changed the title
✨ » implement the Loading and Error components and logic
✨ » implement Error components and logic
Sep 26, 2024
lucas-labs
changed the title
✨ » implement Error components and logic
✨ » implement Error Section & handle errors better
Sep 26, 2024
Error
: A section that will be displayed when there's an irrecoverable error. Once this section is active, the app will show the error and wait for the user to quit the app. This is the only section that might never be active, but it's important to have it in the flow of the app, so that the app can handle errors gracefully.Extracted from:
coco/coco/src/view/main_component.rs
Lines 38 to 50 in 7f4ce1e
Extracted from #5
Display errors when they happen. Not only for committing but for all, including any possible panics that might occur.
Maybe using human-panic or some kind of custom hook to catch panics and display them to the user in our own way?
A way to make the program panic to see how bad it is right now, we can
set a bad config like:
Extracted from:
coco/coco/src/view/app_router.rs
Lines 88 to 94 in 1d74e05
The text was updated successfully, but these errors were encountered: