Skip to content

Make error impls public#1

Open
rschifflin wants to merge 2 commits into
masterfrom
rs-expose-error-enums
Open

Make error impls public#1
rschifflin wants to merge 2 commits into
masterfrom
rs-expose-error-enums

Conversation

@rschifflin
Copy link
Copy Markdown
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