krogenth / G2DataGUI

A tool for modifying the Anniversary/HD Remaster of Grandia 2.
MIT License
4 stars 5 forks source link

Add error capturing #37

Closed krogenth closed 1 year ago

krogenth commented 1 year ago

Currently data collections use async functions to read data from their files. This should be wrapped in try-catches to verify they ran correctly, and if not, what happened.

We can use a new Collection to house the errors themselves, and a new view and viewmodel to display the errors in-app.

Ideally, something like toast messages would be nice, but if that's not possible, having a sidebar of errors might be acceptable.

Tasks: