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

Improve error reporting #45

Open
dlongley opened this issue Apr 16, 2021 · 1 comment
Open

Improve error reporting #45

dlongley opened this issue Apr 16, 2021 · 1 comment

Comments

@dlongley
Copy link
Member

CBOR-LD is designed such that it expects valid JSON-LD to be passed to it for compression, however, we should have some better error messages both during compression and decompression when we encounter unexpected types, etc.

@gatemezing
Copy link

Hi @dlongley . Yes, that's definitively very useful. We are trying to make a small Web App to use this awesome library but we are not sure how to handle for e.g., conneg on URIs of context.

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