todoist-taskwarrior/todoist_taskwarrior/errors.py
2019-06-30 11:38:37 +02:00

10 lines
211 B
Python

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