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
Handle errors in UI side and present it uniformly for better UX. There a lot of TODOs in place for this task wherever we require error handling. It would be beneficial to have a global handler to show these errors as toast messages or banners depending on the severity of the error.
Benefit hypothesis
As a user, I should see errors for any application error that I can follow/ troubleshoot.
Either backend sends errors and it should be shown on the UI as a popup with appropriate messages, based on the error codes being sent, appropriate messages should be shown.
Front-end validation is for empty names or stages with no values in any fields and stuff like that.
Check OpenAPI spec for common ways it sends or handles error.
Activity
Sam007Yeah commentedon Nov 9, 2026
So there's two types of validation: