Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better errors when reading serialized acsets/schemas from bad paths #112

Closed
slwu89 opened this issue Feb 15, 2024 · 1 comment
Closed

Better errors when reading serialized acsets/schemas from bad paths #112

slwu89 opened this issue Feb 15, 2024 · 1 comment

Comments

@slwu89
Copy link
Member

slwu89 commented Feb 15, 2024

It would be nice if the errors from a bad path were able to tell the user that it's due to a bad path, the current one when its given a bad path is somewhat cryptic.

julia> GlobalSch = read_json_acset_schema("../../global/clean/GlobalSch.json")
ERROR: ArgumentError: invalid JSON at byte position 1 while parsing type Any: InvalidChar
@slwu89
Copy link
Member Author

slwu89 commented Feb 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants