mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Updated for message
This commit is contained in:
parent
c156263967
commit
a375d07cc7
1 changed files with 1 additions and 1 deletions
|
@ -12,5 +12,5 @@ class Errors(Configs):
|
|||
|
||||
def raise_error_message(self, message: str, exit_status: int) -> None:
|
||||
""" A general method to raise an error message and exit. """
|
||||
print(f"\n{self.prog_name}: {self.bred}Error{self.endc}: {message}.\n")
|
||||
print(f"\n{self.prog_name}: {self.bred}Error{self.endc}: {message}\n")
|
||||
raise SystemExit(exit_status)
|
||||
|
|
Loading…
Reference in a new issue