blob: a66e4e04b51757d9ba69689911bef9e837b6d2dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
from typing import Optional, TYPE_CHECKING
if TYPE_CHECKING:
from .general import SysCommandWorker
class RequirementError(BaseException):
pass
class DiskError(BaseException):
pass
class UnknownFilesystemFormat(BaseException):
pass
class ProfileError(BaseException):
pass
class SysCallError(BaseException):
def __init__(self, message :str, exit_code :Optional[int] = None, worker :Optional['SysCommandWorker'] = None) -> None:
super(SysCallError, self).__init__(message)
self.message = message
self.exit_code = exit_code
self.worker = worker
class PermissionError(BaseException):
pass
class ProfileNotFound(BaseException):
pass
class HardwareIncompatibilityError(BaseException):
pass
class UserError(BaseException):
pass
class ServiceException(BaseException):
pass
class PackageError(BaseException):
pass
class TranslationError(BaseException):
pass
class Deprecated(BaseException):
pass
|