diff options
author | Miklos Fazkeas <mfazekas@szemafor.com> | 2014-12-02 00:50:48 +0100 |
---|---|---|
committer | Miklos Fazkeas <mfazekas@szemafor.com> | 2014-12-02 00:50:48 +0100 |
commit | ecb35da7dee0c80b1e32f8412e69f27750cd2b51 (patch) | |
tree | ba30e8723479375f41e8b19dba464d0b9141479d /lib/net/ssh/errors.rb | |
parent | ad6a459121314bf2b71a12bf2bb18a1bcf3981d9 (diff) | |
download | net-ssh-ecb35da7dee0c80b1e32f8412e69f27750cd2b51.tar.gz |
Implemented keepalive_maxcount
Diffstat (limited to 'lib/net/ssh/errors.rb')
-rw-r--r-- | lib/net/ssh/errors.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/net/ssh/errors.rb b/lib/net/ssh/errors.rb index 8f5a136..910c961 100644 --- a/lib/net/ssh/errors.rb +++ b/lib/net/ssh/errors.rb @@ -14,6 +14,10 @@ module Net; module SSH # unexpectedly. class Disconnect < Exception; end + # This exception is raised when the remote host has disconnected/ + # timeouted unexpectedly. + class Timeout < Disconnect; end + # This exception is primarily used internally, but if you have a channel # request handler (see Net::SSH::Connection::Channel#on_request) that you # want to fail in such a way that the server knows it failed, you can |