AuHau / toggl-cli

A simple command-line interface for toggl.com

Home Page:https://toggl.uhlir.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `TogglServerValidationException` for 400 code errors

AuHau opened this issue · 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: {}.