-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
propagate errors in Statement initialization #290
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
Conversation
|
Any updates as to whether this will be merged into the repo? It seems odd that a library would decide when my app should crash when really the context of the application code is needed to make that determination. (Just my viewpoint though) Thank you! |
|
@ryanholden8 I just rebased my branch off the tip of master, so if you'd like you're welcome to use it in the interim. I won't be changing anything else on it. @stephencelis What are your thoughts on pulling this in? Since it does break the API by it's nature, to me it seems the sooner the better. |
|
@kujenga Let's figure out the balance here and get something merged 😃 The reason I've been holding off is figuring out this disparity:
Because of this, I'm wondering if we should only promote |
|
@stephencelis Sounds good! I'm in agreement that developer error doesn't necessitate runtime error handling. The Coming right up! 😃 |
|
Great! Let me know when everything's pushed and I'll take a final look and merge 👍 |
|
@stephencelis Alright! After some liberal rebasing this should be cut down to a more manageable set of changes. |
propagate errors in Statement initialization
|
Looks good! Thanks for this! 💯 |
Reopened against master, replacing #221
Propagates up errors by replacing a
try!in the init method for Statements with try and adding the necessary acknowledgements of this throughout the code. See issue #220