Skip to content

QoL: improve error reporting #89

@aslowwriter

Description

@aslowwriter

The error reporting is currently fine, but could be much nicer. For example it still references the rust code location where the error is raised which users will not care about. This was especially irritating when implementing and correctly testing the reference suggestion feature. I think that the better solution shouldn't mention rust code/types and be nicely formatted.

We should also aggregate the errors a little better. I haven't thought out exactly how this should look but it will likely involve https://docs.rs/color-eyre/latest/color_eyre/#custom-sections-for-error-reports-via-section-trait

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