%PDF-1.4 %Óëéá 1 0 obj <> endobj 3 0 obj <> endobj 4 0 obj <
| Server IP : 212.252.79.165 / Your IP : 216.73.216.45 [ Web Server : Apache System : Linux 212-252-79-165.cprapid.com 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64 User : cehaburo ( 1001) PHP Version : 8.1.33 Disable Function : exec,passthru,shell_exec,system Domains : 48 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/uaclient/api/ |
Upload File : |
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