Exception: Net::LDAP::ConnectionError
- Defined in:
- lib/net/ldap/error.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(errors) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(errors) ⇒ ConnectionError
Returns a new instance of ConnectionError.
18 19 20 21 |
# File 'lib/net/ldap/error.rb', line 18 def initialize(errors) = "Unable to connect to any given server: \n #{errors.map { |e, h, p| "#{e.class}: #{e.} (#{h}:#{p})" }.join("\n ")}" super() end |