Skip to content

CBOR: Improve exception messages for unexpected tags during decoding #3024

@fzhinkin

Description

@fzhinkin

If a decoded byte sequence contains unexpected tag, a CborDecodingException with a message like Expected start of array, but found 40 will be thrown. Such messages could be improved to provide human readable tag names in addition to their numeric values, as well as some suggestions on how to avoid an issue.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions