Sha256: afc1537549e8cfd8f39e8c5a07fef89fcebbec551df06523a4d6b0e2968f2ff0
Contents?: true
Size: 1.66 KB
Versions: 4
Compression:
Stored size: 1.66 KB
Contents
class Net::LDAP class Error < StandardError; end class AlreadyOpenedError < Error; end class SocketError < Error; end class ConnectionError < Error def self.new(errors) error = errors.first.first if errors.size == 1 return error if error.is_a? Errno::ECONNREFUSED return Net::LDAP::Error.new(error.message) end super end def initialize(errors) message = "Unable to connect to any given server: \n #{errors.map { |e, h, p| "#{e.class}: #{e.message} (#{h}:#{p})" }.join("\n ")}" super(message) end end class NoOpenSSLError < Error; end class NoStartTLSResultError < Error; end class NoSearchBaseError < Error; end class StartTLSError < Error; end class EncryptionUnsupportedError < Error; end class EncMethodUnsupportedError < Error; end class AuthMethodUnsupportedError < Error; end class BindingInformationInvalidError < Error; end class NoBindResultError < Error; end class SASLChallengeOverflowError < Error; end class SearchSizeInvalidError < Error; end class SearchScopeInvalidError < Error; end class ResponseTypeInvalidError < Error; end class ResponseMissingOrInvalidError < Error; end class EmptyDNError < Error; end class InvalidDNError < Error; end class HashTypeUnsupportedError < Error; end class OperatorError < Error; end class SubstringFilterError < Error; end class SearchFilterError < Error; end class BERInvalidError < Error; end class SearchFilterTypeUnknownError < Error; end class BadAttributeError < Error; end class FilterTypeUnknownError < Error; end class FilterSyntaxInvalidError < Error; end class EntryOverflowError < Error; end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
net-ldap-0.19.0 | lib/net/ldap/error.rb |
net-ldap-0.18.0 | lib/net/ldap/error.rb |
net-ldap-0.17.1 | lib/net/ldap/error.rb |
net-ldap-0.17.0 | lib/net/ldap/error.rb |