index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | advaithm <advaith.madhukar@gmail.com> | 2021-04-02 09:48:41 +0530 |
---|---|---|
committer | advaithm <advaith.madhukar@gmail.com> | 2021-04-02 09:48:41 +0530 |
commit | f4e616cd9e1328a83fdf6f1541fd495292474642 (patch) | |
tree | 605a932306254bec6a232888791897a1eb099ef2 /archinstall/lib/exceptions.py | |
parent | 72284e2b2a96f4c8c6603f3a900b956121253b92 (diff) | |
parent | 2c90f02b6b26cc489e90f7536fe8931a4b2b9195 (diff) |
-rw-r--r-- | archinstall/lib/exceptions.py | 5 |
diff --git a/archinstall/lib/exceptions.py b/archinstall/lib/exceptions.py index 5a5d47c6..a320eef6 100644 --- a/archinstall/lib/exceptions.py +++ b/archinstall/lib/exceptions.py @@ -7,7 +7,10 @@ class UnknownFilesystemFormat(BaseException): class ProfileError(BaseException): pass class SysCallError(BaseException): - pass + 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): |