Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Better errors #33

@bitfl0wer

Description

@bitfl0wer

The current state of error-handling in this crate is not great. What bugs me a lot is how unclear certain error messages are.
Example:

thread 'main' panicked at tests/blubb.rs:66:14: called Result::unwrap() on an Err value: InvalidInput(Malformed("Expected BitString, found SEQUENCE"))

This does not really tell me much. It's lacking information about at least the file and function/method this error occurred in. It would be nice if error messages could be enriched with this information in a nice way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions