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

Wrap Parslet exceptions #26

Closed
wants to merge 1 commit into from

Conversation

andyw8
Copy link
Contributor

@andyw8 andyw8 commented Jan 8, 2016

A Parslet exception is raised when attempting to parse invalid input.
This means the consumer of the gem needs to be concerned with its
internal implementation in order to rescue the failure.

By wrapping the Parslet exception we can avoid leaking this information.

A Parslet exception is raised when attempting to parse invalid input.
This means the consumer of the class needs to be concerned with the
internal implementation of gem in order to rescue the failure.

By wrapping the Parslet exception we can avoid leaking this information.
@iancanderson
Copy link
Owner

Great idea. Thanks @andyw8!

@iancanderson
Copy link
Owner

I rebased this against master then merged in manually: 1eb5355

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.

None yet

2 participants