diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2019-09-30 12:23:00 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2019-12-02 21:06:53 -0500 |
commit | 004462b40ea156b783456463b042a8f71bd22d1e (patch) | |
tree | 7de6b49927dbbc86455461d532a3a98e21f0adcd /paramiko/ssh_exception.py | |
parent | c99388364bb840677e9ea27c7755f4a0af621e1b (diff) | |
download | paramiko-004462b40ea156b783456463b042a8f71bd22d1e.tar.gz |
Base case re #717 works now.
Huge ass squashed commit because I was experimenting
with "commit entire feature at once so you do not leave
broken tests around to break bisecting". Not sure it's worth it,
at least not for large-ish, overhauling-existing-code feature adds.
Breaking the work up over months did not help either, L M A O
Diffstat (limited to 'paramiko/ssh_exception.py')
-rw-r--r-- | paramiko/ssh_exception.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/paramiko/ssh_exception.py b/paramiko/ssh_exception.py index a8ec4cdd..2789be99 100644 --- a/paramiko/ssh_exception.py +++ b/paramiko/ssh_exception.py @@ -201,6 +201,22 @@ class NoValidConnectionsError(socket.error): class CouldNotCanonicalize(SSHException): """ Raised when hostname canonicalization fails & fallback is disabled. + + .. versionadded:: 2.7 + """ + + pass + + +class ConfigParseError(SSHException): + """ + A fatal error was encountered trying to parse SSH config data. + + Typically this means a config file violated the ``ssh_config`` + specification in a manner that requires exiting immediately, such as not + matching ``key = value`` syntax or misusing certain ``Match`` keywords. + + .. versionadded:: 2.7 """ pass |