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

Make error impls public #1

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

Conversation

rschifflin
Copy link
Collaborator

A change from 0.8 to 0.9 moved errors behind an opaque type that only allows us to display the error string. This behavior prevents us from inspecting the error's cause + line/col #s, which prevents us from handling error programmatically. So this PR simply makes the internals of the error public for us to manipulate again- the real solution would be adding an interface to the errors to that properly reveals this information again.

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

Successfully merging this pull request may close these issues.

1 participant