From 69d675f4aa14b4957d6376d642bec5cf4b96674e Mon Sep 17 00:00:00 2001 From: Dylan Taylor Date: Sat, 15 May 2021 12:29:57 -0400 Subject: Many more manual changes --- archinstall/lib/exceptions.py | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'archinstall/lib/exceptions.py') diff --git a/archinstall/lib/exceptions.py b/archinstall/lib/exceptions.py index 49913980..6837f582 100644 --- a/archinstall/lib/exceptions.py +++ b/archinstall/lib/exceptions.py @@ -1,23 +1,41 @@ class RequirementError(BaseException): pass + + class DiskError(BaseException): pass + + class UnknownFilesystemFormat(BaseException): pass + + class ProfileError(BaseException): pass + + class SysCallError(BaseException): def __init__(self, message, exit_code): super(SysCallError, self).__init__(message) self.message = message self.exit_code = exit_code + + class ProfileNotFound(BaseException): pass + + class HardwareIncompatibilityError(BaseException): pass + + class PermissionError(BaseException): pass + + class UserError(BaseException): pass + + class ServiceException(BaseException): - pass \ No newline at end of file + pass -- cgit v1.2.3-70-g09d2 From c14ee42bff34f6fe638fc9b045d8b2dd3fb9f560 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Tue, 18 May 2021 08:27:59 -0400 Subject: Remove PermissionError since it shadows the built-in of the same name --- archinstall/lib/exceptions.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'archinstall/lib/exceptions.py') diff --git a/archinstall/lib/exceptions.py b/archinstall/lib/exceptions.py index 6837f582..147b239b 100644 --- a/archinstall/lib/exceptions.py +++ b/archinstall/lib/exceptions.py @@ -29,10 +29,6 @@ class HardwareIncompatibilityError(BaseException): pass -class PermissionError(BaseException): - pass - - class UserError(BaseException): pass -- cgit v1.2.3-70-g09d2