Added Exceptions

This commit is contained in:
Christian Risi 2025-09-30 13:32:24 +02:00
parent 5acee1d1a5
commit 18fc2ba9d8
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,4 @@
class DuplicateWordException(Exception):
def __init__(self, *args: object) -> None:
super().__init__(*args)

View File

@ -0,0 +1,4 @@
class SentenceTooLongException(Exception):
def __init__(self, *args: object) -> None:
super().__init__(*args)