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
@egbertbouman what do you think of cosolidating this to:
{error: {handled: boolean,message: string,}}
For the errors with a code we would port the code field by including it in the message. For the errors that currently only have an error message we would put them in a {handled=True, message="previously the 'error' message"}.
We inconsistently use REST error responses.
2 instances:
3 instances:
52 instances:
This is bad because it causes error handling constructions like this:
tribler/src/tribler/ui/src/dialogs/SaveAs.tsx
Lines 156 to 163 in 6213050
The text was updated successfully, but these errors were encountered: