ruby-net-ldap
ruby-net-ldap copied to clipboard
Allow ConnectionRefusedError to be captured as Errno::ECONNREFUSED
Modify exceptions to allow Net::LDAP::ConnectionRefusedError to be caught with Errno::ECONNREFUSED (allowing code to start using correct exception), while maintaining compatibility with code using Net::LDAP::ConnectionRefusedError.
Display deprecation warnings for code that attempts to catch Net::LDAP::ConnectionRefusedError, rather than any time a connection refused error is raised.
@jwedoff do we still need this after merging #366 ?