Skip to content

Commit 3415715

Browse files
- Removed unused exception
1 parent 3ba3649 commit 3415715

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/thread/exceptions.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,3 @@ def __init__(self, message: Optional[str] = '', extra: Sequence[Tuple[Exception,
5252
new_message += f'{trace}\n{v[0]}'
5353
new_message += '<<<<<<<<<<'
5454
super().__init__(new_message)
55-
56-
57-
58-
# DECORATOR ERRORS #
59-
class AbstractInvokationError(ErrorBase):
60-
"""Exception class for attempting to invoke an abstract method which is only accessible from inheriting classes"""
61-
message: str = 'Attempt to invoke abstract method [{method_name}]!'
62-
63-
def __init__(self, method_name: str) -> None:
64-
super().__init__(self.message.format(method_name = method_name))
65-
66-
class ArgumentValidationError(ErrorBase):
67-
"""Exception class for when validating arguments passed to the wrapped method fails"""
68-
message: str = 'Validation for arguments passed to the wrapped method failed'
69-
70-
def __init__(self, additional: Optional[str] = '') -> None:
71-
super().__init__(self.message + f'\n{additional}')

0 commit comments

Comments
 (0)