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

Properly throw deserializer errors #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

derekantrican
Copy link

If exceptions are thrown within the Error handler, they will ultimately be thrown as

System.InvalidOperationException: Current error context error is different to requested error

According to the example on the Newtonsoft.Json website errors should be captured, marked as Handled, then accessed after the deserializing process.

This will provide accurate error feedback to users of this library and prevent confusion like in #44

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.

1 participant