Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Improve exception message when a type cannot be converted during marshaling #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aarononeal
Copy link
Contributor

Now when a type cannot be converted a more detailed exception message is generated stating the types converted from and to. This makes it easier to debug applications.

…haling

Now when a type cannot be converted a more detailed exception message is generated stating the types converted from and to. This makes it easier to debug applications.
@marek-safar
Copy link
Member

This is what --debug=casts options is for

@aarononeal
Copy link
Contributor Author

I think handling it directly in the code is less of a hassle and makes for a better out of box debugging experience. I understand though if you're fine with devs having to update their projects with parameter options for debugging, so feel free to close this pull if you decide not to incorporate it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants