Skip to content

Better Error location output #38

@JRAndreassen

Description

@JRAndreassen

Hi...

First, great work...

I'm having a lot of trouble with parsing yaml files.
But, it's really difficult to determine where the error lies.
All I get is:
error: Yaml(Message("data did not match any variant of untagged enum OpenApi", None))
I've trace'd it, I even created a Manual Deserializer.
It parses the top level, but has problems with a sub-level parsing (in "components").

Is there a way to get it to generate a better error.
At least the token it barfs on ?

Thanks
JR

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