Skip to content

[Tokio-Postgres] Error handling #790

Open
@JojiiOfficial

Description

@JojiiOfficial

How to check against a certain error::Kind given a result eg coming from query_one(...)?
The kind enum is private but I need to check somehow against Kind::RowCount in order to check whether its a 'real' error or if simply no entry was found.

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