kareemmahlees / tablex

Cross-Platform table viewer written in Rust
https://tablex-tan.vercel.app
MIT License
64 stars 5 forks source link

[FEAT] Proper error handling #84

Closed kareemmahlees closed 1 month ago

kareemmahlees commented 1 month ago

Is your feature request related to a problem? Please describe. Currently, error handling is clunky and inconsistent, with error messages being non-descriptive and no way to display error messages sent from the backend.

Describe the solution you'd like A global error interface is defined in the backend and utilized by the front end with a custom toast and the capability to show the header message and details of the error.

Additional context This will proper be easier when using a crate like thiserror.