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

hardcoded Rust-type based errors are problematic #57

Merged
merged 2 commits into from
Feb 16, 2017

Conversation

omarkj
Copy link
Contributor

@omarkj omarkj commented Feb 16, 2017

Problem: When errors happen in PumpkinDB, the
client cannot simply parse them as PumpkinScript
but has to parse them as the string representation
of Rust errors.

Solution: Introduce a new PumpkinScript error
message.

block that is more or less doing the same thing
makes working with the error components error
prone.

Solution: Move the repetitive check into a macro.
client cannot simply parse them as PumpkinScript
but has to parse them as the string representation
of Rust errors.

Solution: Introduce a new PumpkinScript error
message.
@yrashk yrashk merged commit d55734b into PumpkinDB:master Feb 16, 2017
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