summaryrefslogtreecommitdiff
path: root/lib/net/ssh/proxy/errors.rb
blob: f696cf34a08f8b6388e5eb128e46be349871e4d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'net/ssh/errors'

module Net
  module SSH
    module Proxy
      # A general exception class for all Proxy errors.
      class Error < Net::SSH::Exception; end

      # Used for reporting proxy connection errors.
      class ConnectError < Error; end

      # Used when the server doesn't recognize the user's credentials.
      class UnauthorizedError < Error; end
    end
  end
end