refactored the base classes

This commit is contained in:
Hellow
2023-04-15 12:35:11 +02:00
parent 6269667798
commit 7599e0db21
2 changed files with 18 additions and 2 deletions

View File

@@ -6,6 +6,9 @@ class SettingNotFound(SettingException):
def __init__(self, setting_name: str):
self.setting_name = setting_name
def __str__(self):
return f"Setting '{self.setting_name}' not found."
class SettingValueError(SettingException):
def __init__(self, setting_name: str, setting_value: str, rule: str):