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

nicer static_xml::ser::Error #2

Open
scottlamb opened this issue Dec 15, 2021 · 0 comments
Open

nicer static_xml::ser::Error #2

scottlamb opened this issue Dec 15, 2021 · 0 comments

Comments

@scottlamb
Copy link
Owner

I've written a nice static_xml::de::Error type which outputs some context information, including the current XML stack. static_xml::ser::Error should do the same.

Likely needs similar instrumentation in which some things return this type, text-based stuff returns BoxedStdError (as they don't have the proper context to fill this; they need to rely on the caller to do so), and some things return either type (see static_xml::de::VisitorError).

@scottlamb scottlamb changed the title nicer static_xml::ser::Error nicer static_xml::ser::Error Dec 15, 2021
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