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

Provide better error message when unable to parse game metadata #111

Closed
trevorld opened this issue Jun 3, 2021 · 1 comment
Closed

Provide better error message when unable to parse game metadata #111

trevorld opened this issue Jun 3, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@trevorld
Copy link
Member

trevorld commented Jun 3, 2021

Example test.ppn

---
ttt
...

provides following error message

ppgames::read_ppn("test.ppn")
Error: $ operator is invalid for atomic vectors

which as @tinfoilhatter pointed out is not user friendly.

@trevorld trevorld added the bug Something isn't working label Jun 3, 2021
@trevorld trevorld self-assigned this Jun 3, 2021
@trevorld trevorld added this to To do in Portable Piecepack Notation via automation Jun 3, 2021
Portable Piecepack Notation automation moved this from To do to Done Jul 20, 2021
@trevorld
Copy link
Member Author

The error message is now

Error : The PPN metadata does not appear to be a YAML dictionary:
ttt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant