Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Use a custom Fail type instead of format_err! #8

@csssuf

Description

@csssuf

format_err! and string-based errors are good for this initial prototype, but aren't a great long-term solution for a library API. Instead, some type should implement Fail, and the library should use errors of this type. Since ReturnCode already exists and corresponds to the different error codes returned from libyubihsm, it would be a good candidate for implementing Fail.

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