Skip to content

Improve helpfulness of errors #2

Description

@greg

The errors thrown by the encoder and decoder are not especially helpful for tracking down bugs in complex data models; it would help to make some of them more informative. For example:

  • When attempting to encode an undecodable cycle, include the entire encoding stack in the error so the user can find the problem more easily.

  • Failing USER ERROR preconditions should include the encoding path where they were triggered.

If you have any experiences with insufficiently-descriptive errors which are not listed above, please leave a comment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions