todoist-taskwarrior/todoist_taskwarrior/errors.py

17 lines
312 B
Python
Raw Normal View History

""" Custom Errors """
class UnsupportedRecurrence(Exception):
def __init__(self, date_string):
super().__init__('Unsupported recurrence: %s' % date_string)
self.date_string = date_string
2019-08-05 04:16:17 +02:00
class TIItemNotFoundAfterCommit(Exception):
pass
class TIProjectNotFound(Exception):
pass