Skip to content

Net::LDAP::DN should raise an error more specific than RuntimeError #283

Closed
@dblessing

Description

@dblessing

Currently, Net::LDAP::DN raises RuntimeError in certain conditions. This is a very non-specific errors and makes it hard to catch LDAP exceptions without accidentally catching a more generic runtime error.

Can we add more specific error classes for these cases?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions