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
Currently at lot of errors and exceptions are just swallowed in the code. (those places are marked with a TODO)
The goal of this issue is to add meaningful error messages (e.g. as toasts) that inform the user about what went wrong.
We could write a global error handler class/function that either contains all error messages with their respective errors or just handles and catches all uncaught errors (Unbekannter Fehler).
Option one would allow us to have less duplicated code for errors that can occur in multiple places like timeouts.
Also we do not have to write a try catch for every single place. Instead we handle them globally using one method
The disadvantage is that it becomes more obscure how the code will perform on an error.
So maybe we should start with option two (handle all uncaught errors)
Currently at lot of errors and exceptions are just swallowed in the code. (those places are marked with a TODO)
The goal of this issue is to add meaningful error messages (e.g. as toasts) that inform the user about what went wrong.
Resources:
The text was updated successfully, but these errors were encountered: