idC*GddeZGddeZGddeZGddeZGdd eZGd d eZGd d eZGddeZGddeZ GddeZ GddeZ GddeZ GddeZ gdZy)c"eZdZdZfdZxZS)InvalidPasswordExceptionz@Raised when the provided password is rejected by the remote hostc0d}tt| |y)NzInvalid password provided)superr__init__selfmessage __class__s :/usr/lib/python3/dist-packages/sos/collector/exceptions.pyrz!InvalidPasswordException.__init__s- &6w?__name__ __module__ __qualname____doc__r __classcell__r s@r rr sJ@@r rc"eZdZdZfdZxZS)TimeoutPasswordAuthExceptionzLRaised when a timeout is hit waiting for an auth reply using a password c0d}tt| |y)Nz1Timeout hit while waiting for password validation)rrrrs r rz%TimeoutPasswordAuthException.__init__sE *D:7Cr r rs@r rrsDDr rc"eZdZdZfdZxZS)PasswordRequestExceptionzMRaised when the remote host requests a password that was not anticipated c0d}tt| |y)Nz*Host requested password, but none provided)rrrrs r rz!PasswordRequestException.__init__!s> &6w?r r rs@r rrs@@r rc"eZdZdZfdZxZS)AuthPermissionDeniedExceptionz=Raised when authentication attempts return a permission errorc0d}tt| |y)Nz.Permission denied while trying to authenticate)rrrrs r rz&AuthPermissionDeniedException.__init__)sB +T;GDr r rs@r rr&sGEEr rc$eZdZdZdfd ZxZS)ConnectionExceptionz'Raised when an attempt to connect failsc<d|d|}tt| |y)NzCould not connect to host z on specified port )rrr)raddressportr r s r rzConnectionException.__init__1st% !41':r )r"r rs@r rr.s1;;r rc$eZdZdZdfd ZxZS)CommandTimeoutExceptionzRaised when a timeout expirescDd}|r|d|zz }tt| |y)NzTimeout expiredz executing %s)rr$r)rcommandr r s r rz CommandTimeoutException.__init__:s*#  0 0G %t5g>r Nr rs@r r$r$7s'??r r$c"eZdZdZfdZxZS)ConnectionTimeoutExceptionzARaised when a timeout expires while trying to connect to the hostc0d}tt| |y)Nz'Timeout expires while trying to connect)rr)rrs r rz#ConnectionTimeoutException.__init__Ds; ($8Ar r rs@r r)r)AsKBBr r)c$eZdZdZdfd ZxZS)ControlSocketMissingExceptionz-Raised when the SSH control socket is missingc6d|z}tt| |y)Nz$SSH control socket %s does not exist)rr,r)rpathr r s r rz&ControlSocketMissingException.__init__Ls84? +T;GDr )r"r rs@r r,r,Is7EEr r,c"eZdZdZfdZxZS)"ControlPersistUnsupportedExceptionz5Raised when SSH ControlPersist is unsupported locallyc0d}tt| |y)Nz4ControlPersist unsupported by local SSH installation)rr0rrs r rz+ControlPersistUnsupportedException.__init__TsH 0$@Ir r rs@r r0r0Qs?JJr r0c"eZdZdZfdZxZS)UnsupportedHostExceptionz8Raised when the host type is unsupported or undeterminedc0d}tt| |y)Nz.Host did not match any supported distributions)rr3rrs r rz!UnsupportedHostException.__init__\sB &6w?r r rs@r r3r3YsB@@r r3c$eZdZdZdfd ZxZS)InvalidTransportExceptionzZRaised when a transport is requested but it does not exist or is not supported locallyc>|rd|znd}tt| |y)Nz6Connection failed: unknown or unsupported transport %sr")rr6r)r transportr r s r rz"InvalidTransportException.__init__es,"+L13  '7@r r'r rs@r r6r6asAAr r6c"eZdZdZfdZxZS)#SaltStackMasterUnsupportedExceptionz3Raised when SaltStack Master is unsupported locallyc0d}tt| |y)Nz2Master unsupported by local SaltStack installation)rr:rrs r rz,SaltStackMasterUnsupportedException.__init__nsF 14A'Jr r rs@r r:r:ks=KKr r:c"eZdZdZfdZxZS)JujuNotInstalledExceptionz)Raised when juju is not installed locallyc0d}tt| |y)Nz=Juju is not installed, please ensure you have installed juju.)rr=rrs r rz"JujuNotInstalledException.__init__vs 5  '7@r r rs@r r=r=ss3AAr r=) rr$rr)r0r,rrr:rr3r6r=N) Exceptionrrrrrr$r)r,r0r3r6r:r=__all__r r rBs@y@D9D@y@EIE;);?i?BBEIEJJ@y@A AK)KA A r