summaryrefslogtreecommitdiff
path: root/lib/net/ssh/errors.rb
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2007-08-16 22:45:46 +0000
committerJamis Buck <jamis@37signals.com>2007-08-16 22:45:46 +0000
commita27b7c5d1f6616019cda4fb1d579fa8e7780971b (patch)
tree17a6d6409316dcf1a9b7d42e8471d13c788ce566 /lib/net/ssh/errors.rb
parent154d807bd5e4fff64cdc91f09271994cdadb0635 (diff)
downloadnet-ssh-a27b7c5d1f6616019cda4fb1d579fa8e7780971b.tar.gz
use an exception to indicate whether a channel request failed or not, rather than return value
git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@189 1d2a57f2-1ded-0310-ad52-83097a15a5de
Diffstat (limited to 'lib/net/ssh/errors.rb')
-rw-r--r--lib/net/ssh/errors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/errors.rb b/lib/net/ssh/errors.rb
index d7c1ee2..a3d7cfa 100644
--- a/lib/net/ssh/errors.rb
+++ b/lib/net/ssh/errors.rb
@@ -2,8 +2,8 @@ module Net; module SSH
class Exception < ::RuntimeError; end
class AuthenticationFailed < Exception; end
-
class Disconnect < Exception; end
+ class ChannelRequestFailed < Exception; end
class ChannelOpenFailed < Exception
attr_reader :code, :reason