Submit
Path:
~
/
/
usr
/
lib
/
python3
/
dist-packages
/
uaclient
/
api
/
File Content:
exceptions.py
from uaclient import messages from uaclient.api.errors import APIError from uaclient.exceptions import ( AlreadyAttachedError, ConnectivityError, ContractAPIError, DepedentOptionError, EntitlementNotDisabledError, EntitlementNotEnabledError, EntitlementNotFoundError, EntitlementsNotEnabledError, FeatureNotSupportedOldTokenError, IncompatibleServiceStopsEnable, InvalidOptionCombination, InvalidProImage, LockHeldError, MagicAttachTokenAlreadyActivated, MagicAttachTokenError, MagicAttachUnavailable, NonAutoAttachImageError, NonRootUserError, RequiredServiceStopsEnable, UbuntuProError, UnattachedError, UnsupportedManifestFile, UrlError, UserFacingError, ) __all__ = [ "AlreadyAttachedError", "ConnectivityError", "ContractAPIError", "EntitlementNotFoundError", "InvalidOptionCombination", "FeatureNotSupportedOldTokenError", "InvalidProImage", "LockHeldError", "MagicAttachTokenAlreadyActivated", "MagicAttachTokenError", "MagicAttachUnavailable", "NonAutoAttachImageError", "NonRootUserError", "UbuntuProError", "UnattachedError", "UrlError", "UserFacingError", "EntitlementsNotEnabledError", "EntitlementNotEnabledError", "EntitlementNotDisabledError", "IncompatibleServiceStopsEnable", "RequiredServiceStopsEnable", "UnsupportedManifestFile", "DepedentOptionError", ] class AutoAttachDisabledError(UbuntuProError): _msg = messages.E_AUTO_ATTACH_DISABLED_ERROR class UnattendedUpgradesError(APIError): _formatted_msg = messages.E_UNATTENDED_UPGRADES_ERROR class NotSupported(UbuntuProError): _msg = messages.E_NOT_SUPPORTED
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
__pycache__
---
0755
u
---
0755
__init__.py
2315 bytes
0644
api.py
5692 bytes
0644
data_types.py
1958 bytes
0644
errors.py
2012 bytes
0644
exceptions.py
1741 bytes
0644
N4ST4R_ID | Naxtarrr