o i©¹dCã@sÜGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGdd „d eƒZGd d „d eƒZGd d „d eƒZGdd„deƒZGdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZ gd¢ZdS)có eZdZdZ‡fdd„Z‡ZS)ÚInvalidPasswordExceptionz@Raised when the provided password is rejected by the remote hostcód}tt|ƒ |¡dS)NzInvalid password provided)ÚsuperrÚ__init__©ÚselfÚmessage©Ú __class__©ú:/usr/lib/python3/dist-packages/sos/collector/exceptions.pyróz!InvalidPasswordException.__init__©Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚ __classcell__r r r r r órcr)ÚTimeoutPasswordAuthExceptionzLRaised when a timeout is hit waiting for an auth reply using a password cr)Nz1Timeout hit while waiting for password validation)rrrrr r r rr z%TimeoutPasswordAuthException.__init__rr r r r rórcr)ÚPasswordRequestExceptionzMRaised when the remote host requests a password that was not anticipated cr)Nz*Host requested password, but none provided)rrrrr r r r!r z!PasswordRequestException.__init__rr r r r rrrcr)ÚAuthPermissionDeniedExceptionz=Raised when authentication attempts return a permission errorcr)Nz.Permission denied while trying to authenticate)rrrrr r r r)r z&AuthPermissionDeniedException.__init__rr r r r r&rrcó"eZdZdZd‡fdd„ Z‡ZS)ÚConnectionExceptionz'Raised when an attempt to connect failsÚcs d||f}tt|ƒ |¡dS)Nz1Could not connect to host %s on specified port %s)rrr)rÚaddressÚportrr r r r1sÿzConnectionException.__init__)rrrr r r r r.órcr)ÚCommandTimeoutExceptionzRaised when a timeout expiresNcs(d}|r |d|7}tt|ƒ |¡dS)NzTimeout expiredz executing %s)rrr)rÚcommandrr r r r:s z CommandTimeoutException.__init__©Nrr r r r r7rrcr)ÚConnectionTimeoutExceptionzARaised when a timeout expires while trying to connect to the hostcr)Nz'Timeout expires while trying to connect)rr"rrr r r rDr z#ConnectionTimeoutException.__init__rr r r r r"Arr"cr)ÚControlSocketMissingExceptionz-Raised when the SSH control socket is missingrcsd|}tt|ƒ |¡dS)Nz$SSH control socket %s does not exist)rr#r)rÚpathrr r r rLsz&ControlSocketMissingException.__init__)rrr r r r r#Irr#cr)Ú"ControlPersistUnsupportedExceptionz5Raised when SSH ControlPersist is unsupported locallycr)Nz4ControlPersist unsupported by local SSH installation)rr%rrr r r rTr z+ControlPersistUnsupportedException.__init__rr r r r r%Qrr%cr)ÚUnsupportedHostExceptionz8Raised when the host type is unsupported or undeterminedcr)Nz.Host did not match any supported distributions)rr&rrr r r r\r z!UnsupportedHostException.__init__rr r r r r&Yrr&cr)ÚInvalidTransportExceptionzZRaised when a transport is requested but it does not exist or is not supported locallyNcs$|rd|nd}tt|ƒ |¡dS)Nz6Connection failed: unknown or unsupported transport %sr)rr'r)rÚ transportrr r r resÿÿÿz"InvalidTransportException.__init__r!rr r r r r'asr'cr)Ú#SaltStackMasterUnsupportedExceptionz3Raised when SaltStack Master is unsupported locallycr)Nz2Master unsupported by local SaltStack installation)rr)rrr r r rnr z,SaltStackMasterUnsupportedException.__init__rr r r r r)krr)cr)ÚJujuNotInstalledExceptionz)Raised when juju is not installed locallycr)Nz=Juju is not installed, please ensure you have installed juju.)rr*rrr r r rvsÿz"JujuNotInstalledException.__init__rr r r r r*srr*) rrrr"r%r#rrr)rr&r'r*N)Ú Exceptionrrrrrrr"r#r%r&r'r)r*Ú__all__r r r r Ús