toggl-cli icon indicating copy to clipboard operation
toggl-cli copied to clipboard

Add `TogglServerValidationException` for 400 code errors

Open AuHau opened this issue 1 month ago • 0 comments

API now has quite nice handling of validation errors and it returns them as 400. We could add another TogglApiException that would encapsulate these errors with nicer message than now the generic Toggl's API server returned {} code with message: {}.

AuHau avatar May 22 '24 06:05 AuHau