Current File : //usr/lib/python3/dist-packages/sos/collector/__pycache__/exceptions.cpython-312.pyc
�

-�_g���*�Gd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�d	e�ZGd
�de�ZGd�d
e�ZGd�de�ZGd�de�Z	Gd�de�Z
Gd�de�ZGd�de�ZGd�de�Z
gd�Zy)c�"��eZdZdZ�fd�Z�xZS)�InvalidPasswordExceptionz@Raised when the provided password is rejected by the remote hostc�(��d}t�|�|�y)NzInvalid password provided��super�__init__��self�message�	__class__s  ��:/usr/lib/python3/dist-packages/sos/collector/exceptions.pyrz!InvalidPasswordException.__init__s���-��
����!���__name__�
__module__�__qualname__�__doc__r�
__classcell__�rs@rrrs���J�"�"r
rc�"��eZdZdZ�fd�Z�xZS)�TimeoutPasswordAuthExceptionzLRaised when a timeout is hit waiting for an auth reply using a password
    c�(��d}t�|�|�y)Nz1Timeout hit while waiting for password validationrrs  �rrz%TimeoutPasswordAuthException.__init__s���E��
����!r
rrs@rrr�����"�"r
rc�"��eZdZdZ�fd�Z�xZS)�PasswordRequestExceptionzMRaised when the remote host requests a password that was not anticipated
    c�(��d}t�|�|�y)Nz*Host requested password, but none providedrrs  �rrz!PasswordRequestException.__init__!s���>��
����!r
rrs@rrrrr
rc�"��eZdZdZ�fd�Z�xZS)�AuthPermissionDeniedExceptionz=Raised when authentication attempts return a permission errorc�(��d}t�|�|�y)Nz.Permission denied while trying to authenticaterrs  �rrz&AuthPermissionDeniedException.__init__)����B��
����!r
rrs@rrr&s���G�"�"r
rc�$��eZdZdZd�fd�	Z�xZS)�ConnectionExceptionz'Raised when an attempt to connect failsc�4��d|�d|��}t�|�|�y)NzCould not connect to host z on specified port r)r	�address�portr
rs    �rrzConnectionException.__init__1s&���/��y�8K��V���
����!r
)�r%rrs@rr!r!.s���1�"�"r
r!c�$��eZdZdZd�fd�	Z�xZS)�CommandTimeoutExceptionzRaised when a timeout expiresc�<��d}|r|d|��z
}t�|�|�y)NzTimeout expiredz executing r)r	�commandr
rs   �rrz CommandTimeoutException.__init__:s)���#�����W�I�.�.�G�
����!r
�Nrrs@rr'r'7s���'�"�"r
r'c�"��eZdZdZ�fd�Z�xZS)�ConnectionTimeoutExceptionzARaised when a timeout expires while trying to connect to the hostc�(��d}t�|�|�y)Nz'Timeout expires while trying to connectrrs  �rrz#ConnectionTimeoutException.__init__Ds���;��
����!r
rrs@rr,r,As���K�"�"r
r,c�$��eZdZdZd�fd�	Z�xZS)�ControlSocketMissingExceptionz-Raised when the SSH control socket is missingc�0��d|�d�}t�|�|�y)NzSSH control socket z does not existr)r	�pathr
rs   �rrz&ControlSocketMissingException.__init__Ls���'��v�_�=��
����!r
)r%rrs@rr/r/Is���7�"�"r
r/c�"��eZdZdZ�fd�Z�xZS)�"ControlPersistUnsupportedExceptionz5Raised when SSH ControlPersist is unsupported locallyc�(��d}t�|�|�y)Nz4ControlPersist unsupported by local SSH installationrrs  �rrz+ControlPersistUnsupportedException.__init__Ts���H��
����!r
rrs@rr3r3Qs���?�"�"r
r3c�"��eZdZdZ�fd�Z�xZS)�UnsupportedHostExceptionz8Raised when the host type is unsupported or undeterminedc�(��d}t�|�|�y)Nz.Host did not match any supported distributionsrrs  �rrz!UnsupportedHostException.__init__\rr
rrs@rr6r6Ys���B�"�"r
r6c�$��eZdZdZd�fd�	Z�xZS)�InvalidTransportExceptionzZRaised when a transport is requested but it does not exist or is
    not supported locallyc�6��d|r|nd��}t�|�|�y)Nz4Connection failed: unknown or unsupported transport r%r)r	�	transportr
rs   �rrz"InvalidTransportException.__init__es$���I�#,�i�"�5�7��
����!r
r*rrs@rr9r9as����"�"r
r9c�"��eZdZdZ�fd�Z�xZS)�#SaltStackMasterUnsupportedExceptionz3Raised when SaltStack Master is unsupported locallyc�(��d}t�|�|�y)Nz2Master unsupported by local SaltStack installationrrs  �rrz,SaltStackMasterUnsupportedException.__init__ns���F��
����!r
rrs@rr=r=ks���=�"�"r
r=c�"��eZdZdZ�fd�Z�xZS)�JujuNotInstalledExceptionz)Raised when juju is not installed locallyc�(��d}t�|�|�y)Nz=Juju is not installed, please ensure you have installed juju.rrs  �rrz"JujuNotInstalledException.__init__vs���
5�	�	����!r
rrs@rr@r@ss���3�"�"r
r@)
rr'r!r,r3r/rrr=rr6r9r@N)�	Exceptionrrrrr!r'r,r/r3r6r9r=r@�__all__�r
r�<module>rEs���"�y�"�"�9�"�"�y�"�"�I�"�"�)�"�"�i�"�"��"�"�I�"�"��"�"�y�"�"�	�"�"�)�"�"�	�"��r