work on v0.3.0

This commit is contained in:
2025-02-18 23:35:36 +03:00
parent a9e545f3d8
commit a3a7cbf2e6
17 changed files with 117 additions and 51 deletions
+15 -2
View File
@@ -1,3 +1,16 @@
class InvalidInputFlagsException(Exception):
from ..params.flag.input_flag.entity import InputFlag
class InvalidInputFlagException(Exception):
def __init__(self, flag: InputFlag):
self.flag = flag
def __str__(self):
return "Invalid Input Flags"
return ("Invalid Input Flags\n"
f"Unknown or invalid input flag: '{self.flag.get_string_entity()} {self.flag.get_value()}'")
class IncorrectInputFlagException(Exception):
def __str__(self):
return "Incorrect Input Flags"