Skip to content

error.rs: consider dropping negatives #294

Open
@ojeda

Description

@ojeda

From @nbdd0121 #287 (comment):

We might want to drop all negatives. All C side macros define error codes as positive, and it's only used as negative values to tell part between success and failure. Rust side shouldn't use that pattern at all and should use Result exclusively anyway, so negative values are not meaningful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    • libRelated to the `rust/` library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions