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

Prevent throwing of error for unsupported tags #100

Open
mikekelly opened this issue Jan 27, 2024 · 0 comments
Open

Prevent throwing of error for unsupported tags #100

mikekelly opened this issue Jan 27, 2024 · 0 comments

Comments

@mikekelly
Copy link

I'm handling a cbor message that is tagged with a value that's not supported and so trying to decode the message throws this error:

throw DecodingError.dataCorruptedError(in: self, debugDescription: "Handling tags (other than epoch-based date/time) is not supported yet")

What's the easiest way for me to patch this so that it defaults to handling as if it was a bytestring?

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

1 participant