[docs]class SSHConfigurationError(RuntimeError):
"""
Exception raised when one or more unsupported SSH configuration
properties are invoked.
"""
pass
[docs]class SSHConnectionError(RuntimeError):
"""
Exception raised when a connection to remote host fails.
"""
pass
[docs]class SSHChannelError(SSHConnectionError):
"""
Exception raised when ``paramiko.open_channel`` fails to create a
socket object for our tunnel.
"""
pass
[docs]class SFTPError(SSHConnectionError):
"""
Exception raised when an ``SSHClient`` object doesn't exist and the
user attempts to create a new ``SFTPClient`` session object.
"""
pass
[docs]class SSHContextError(SSHConnectionError):
"""
Exception raised when the SSH context cannot be created.
"""
pass