| Current Path : /proc/3/root/opt/imh-python/lib/python3.9/site-packages/netmiko/ |
| Current File : //proc/3/root/opt/imh-python/lib/python3.9/site-packages/netmiko/ssh_exception.py |
from paramiko.ssh_exception import SSHException
from paramiko.ssh_exception import AuthenticationException
class NetmikoTimeoutException(SSHException):
"""SSH session timed trying to connect to the device."""
pass
class NetmikoAuthenticationException(AuthenticationException):
"""SSH authentication exception based on Paramiko AuthenticationException."""
pass
class ConfigInvalidException(Exception):
"""Exception raised for invalid configuration error."""
pass
NetMikoTimeoutException = NetmikoTimeoutException
NetMikoAuthenticationException = NetmikoAuthenticationException