Added Exceptions
This commit is contained in:
4
Project_Model/Libs/BPE/Errors/DuplicateWordException.py
Normal file
4
Project_Model/Libs/BPE/Errors/DuplicateWordException.py
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
class DuplicateWordException(Exception):
|
||||||
|
|
||||||
|
def __init__(self, *args: object) -> None:
|
||||||
|
super().__init__(*args)
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
class SentenceTooLongException(Exception):
|
||||||
|
|
||||||
|
def __init__(self, *args: object) -> None:
|
||||||
|
super().__init__(*args)
|
||||||
Reference in New Issue
Block a user