Error handling in budget/category mutations is inconsistent — errors are returned as data instead of being…
Error handling in budget/category mutations is inconsistent — errors are returned as data instead of being…: a task in LegoFlow-SWE (Harbor dataset). When server-side operations for categories, category groups, budget amounts, or other budget entities fail, the server handlers return an error…
The task
When server-side operations for categories, category groups, budget amounts, or other budget entities fail, the server handlers return an error object (`{ error: '…' }`) as part of the normal result payload instead of throwing an error. On the client side, the mutation handlers that receive the result must manually…
Part of Lego-X/LegoFlow-SWE.