ruby-net-ldap icon indicating copy to clipboard operation
ruby-net-ldap copied to clipboard

Allow ConnectionRefusedError to be captured as Errno::ECONNREFUSED

Open jwedoff opened this issue 5 years ago • 1 comments

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 avatar Jul 14 '20 22:07 jwedoff

@jwedoff do we still need this after merging #366 ?

HarlemSquirrel avatar Oct 29 '20 04:10 HarlemSquirrel