Module netmiko.exceptions
Classes
class ConfigInvalidException (*args, **kwargs)-
Expand source code
class ConfigInvalidException(NetmikoBaseException): """Exception raised for invalid configuration error.""" passException raised for invalid configuration error.
Ancestors
- NetmikoBaseException
- builtins.Exception
- builtins.BaseException
class ConnectionException (*args, **kwargs)-
Expand source code
class ConnectionException(NetmikoBaseException): """Generic exception indicating the connection failed.""" passGeneric exception indicating the connection failed.
Ancestors
- NetmikoBaseException
- builtins.Exception
- builtins.BaseException
class NetmikoAuthenticationException (*args, **kwargs)-
Expand source code
class NetmikoAuthenticationException(AuthenticationException): """SSH authentication exception based on Paramiko AuthenticationException.""" passSSH authentication exception based on Paramiko AuthenticationException.
Ancestors
- paramiko.ssh_exception.AuthenticationException
- paramiko.ssh_exception.SSHException
- builtins.Exception
- builtins.BaseException
class NetMikoAuthenticationException (*args, **kwargs)-
Expand source code
class NetmikoAuthenticationException(AuthenticationException): """SSH authentication exception based on Paramiko AuthenticationException.""" passSSH authentication exception based on Paramiko AuthenticationException.
Ancestors
- paramiko.ssh_exception.AuthenticationException
- paramiko.ssh_exception.SSHException
- builtins.Exception
- builtins.BaseException
class NetmikoBaseException (*args, **kwargs)-
Expand source code
class NetmikoBaseException(Exception): """General base exception except for exceptions that inherit from Paramiko.""" passGeneral base exception except for exceptions that inherit from Paramiko.
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses
class NetmikoParsingException (*args, **kwargs)-
Expand source code
class NetmikoParsingException(ReadException): """Exception raised when there is a parsing error.""" passException raised when there is a parsing error.
Ancestors
- ReadException
- NetmikoBaseException
- builtins.Exception
- builtins.BaseException
class NetmikoTimeoutException (*args, **kwargs)-
Expand source code
class NetmikoTimeoutException(SSHException): """SSH session timed trying to connect to the device.""" passSSH session timed trying to connect to the device.
Ancestors
- paramiko.ssh_exception.SSHException
- builtins.Exception
- builtins.BaseException
class NetMikoTimeoutException (*args, **kwargs)-
Expand source code
class NetmikoTimeoutException(SSHException): """SSH session timed trying to connect to the device.""" passSSH session timed trying to connect to the device.
Ancestors
- paramiko.ssh_exception.SSHException
- builtins.Exception
- builtins.BaseException
class ReadException (*args, **kwargs)-
Expand source code
class ReadException(NetmikoBaseException): """General exception indicating an error occurred during a Netmiko read operation.""" passGeneral exception indicating an error occurred during a Netmiko read operation.
Ancestors
- NetmikoBaseException
- builtins.Exception
- builtins.BaseException
Subclasses
class ReadTimeout (*args, **kwargs)-
Expand source code
class ReadTimeout(ReadException): """General exception indicating an error occurred during a Netmiko read operation.""" passGeneral exception indicating an error occurred during a Netmiko read operation.
Ancestors
- ReadException
- NetmikoBaseException
- builtins.Exception
- builtins.BaseException
class WriteException (*args, **kwargs)-
Expand source code
class WriteException(NetmikoBaseException): """General exception indicating an error occurred during a Netmiko write operation.""" passGeneral exception indicating an error occurred during a Netmiko write operation.
Ancestors
- NetmikoBaseException
- builtins.Exception
- builtins.BaseException