leesharma / rescuetime

Ruby interface to the RescueTime APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add errors

leesharma opened this issue · comments

Does the current code cover all cases of responses?

InvalidDateError - start date can't be after end date
InvalidDateError - can't see into the future

InvalidQueryError - is not a valid value for :. Valid options include [].
InvalidQueryError - is not a valid option. Valid options include [].

HTTP response errors

InvalidDateError - end date supplied without start date.

InvalidOptionsError (or something?) - The combination of options is not permitted.