todoist-taskwarrior/todoist_taskwarrior/errors.py
2019-08-05 06:48:24 +02:00

17 lines
312 B
Python

""" Custom Errors """
class UnsupportedRecurrence(Exception):
def __init__(self, date_string):
super().__init__('Unsupported recurrence: %s' % date_string)
self.date_string = date_string
class TIItemNotFoundAfterCommit(Exception):
pass
class TIProjectNotFound(Exception):
pass