Skip to content

inconsistent exception handling #44

@XSven

Description

@XSven

The new() documentation contradicts the example given in the SYNOPSIS. The example in the SYNOPSIS uses eval{} to catch exceptions but doesn't use $Test::PostgreSQL::errstr but $@ instead. The new() documentation doesn't even mention that the constructor may throw exceptions in the case of error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions