mirror of
https://git.webmeisterei.com/webmeisterei/todoist-taskwarrior.git
synced 2025-07-12 14:12:29 +02:00
Change base Exception to UnsupportedRecurrence
This commit is contained in:
9
todoist_taskwarrior/errors.py
Normal file
9
todoist_taskwarrior/errors.py
Normal file
@ -0,0 +1,9 @@
|
||||
""" Custom Errors """
|
||||
|
||||
|
||||
class UnsupportedRecurrence(Exception):
|
||||
|
||||
def __init__(self, date_string):
|
||||
super().__init__('Unsupported recurrence: %s' % date_string)
|
||||
self.date_string = date_string
|
||||
|
Reference in New Issue
Block a user