Skip to content

Error messages are not descriptive enough #22

@DanikVitek

Description

@DanikVitek

When having an erroneous CSL file, the error message is just too opaque. It gives no clue, what part of the file has the incorrect node or value. The error is "just there somewhere".

There is a crate, used for fixing this issue, called serde_path_to_error, which provides a wrapper (de-)serializer, that can track the path, which can later be interpolated into the error message.

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