There are some unjustified unwraps in the code, mainly when querying the server. The case where there is any error should be handled by an error message in the browser.
There are some unjustified unwraps in the code, mainly when querying the server. The case where there is any error should be handled by an error message in the browser.
There is an issue in Sycamore aiming to make fallible components a thing. That could be a step towards proper error handling.
In the meantime, the only possible runtime errors in the client are with fetching data from the API, which is unlikely.
There is an issue in Sycamore aiming to make fallible components a thing. That could be a step towards proper error handling.
In the meantime, the only possible runtime errors in the client are with fetching data from the API, which is unlikely.
alban
changed title from feat/Proper error handling to feat/Client proper error handling3 years ago
The update to Perseus beta.21 introduced error views, views that will be shown when issues occur, including critical errors when the wasm program panics. The error messages exist in the app right now but they look really bad.
The update to Perseus beta.21 introduced error views, views that will be shown when issues occur, including critical errors when the wasm program panics. The error messages exist in the app right now but they look really bad.
There are some unjustified unwraps in the code, mainly when querying the server. The case where there is any error should be handled by an error message in the browser.
There is an issue in Sycamore aiming to make fallible components a thing. That could be a step towards proper error handling.
In the meantime, the only possible runtime errors in the client are with fetching data from the API, which is unlikely.
feat/Proper error handlingto feat/Client proper error handling 3 years agoThe update to Perseus beta.21 introduced error views, views that will be shown when issues occur, including critical errors when the wasm program panics. The error messages exist in the app right now but they look really bad.