HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/uaclient/api/__pycache__/exceptions.cpython-310.pyc
o

�~c��@stddlmZmZddlmZddlmZmZmZm	Z	m
Z
mZmZm
Z
mZgd�ZGdd�de�ZGdd�de�ZdS)	�)�List�Tuple)�messages)	�AlreadyAttachedError�ConnectivityError�ContractAPIError�EntitlementNotFoundError�InvalidProImage�
LockHeldError�NonAutoAttachImageError�UrlError�UserFacingErrorcs0eZdZdeeeejff�fdd�Z�Z	S)�EntitlementsNotEnabledError�failed_servicescs0dd�|D�}t�jtjjtjjd|id�dS)NcSs(g|]}|d|dj|djd��qS)r�)�name�code�title)r�msg)�.0�f�r�9/usr/lib/python3/dist-packages/uaclient/api/exceptions.py�
<listcomp>!s��z8EntitlementsNotEnabledError.__init__.<locals>.<listcomp>�services)�additional_info)�super�__init__r�ENTITLEMENTS_NOT_ENABLED_ERRORrr)�selfr�
info_dicts��	__class__rrrs�
�z$EntitlementsNotEnabledError.__init__)
�__name__�
__module__�__qualname__rr�strr�NamedMessager�
__classcell__rrr!rrs�rcseZdZ�fdd�Z�ZS)�AutoAttachDisabledErrorcst��tjjtjj�dS)N)rrr�AUTO_ATTACH_DISABLED_ERRORrr)rr!rrr-s�z AutoAttachDisabledError.__init__)r#r$r%rr(rrr!rr),sr)N)�typingrr�uaclientr�uaclient.exceptionsrrrrr	r
rrr
�__all__rr)rrrr�<module>s,