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

Redo error handling #2

Open
hansihe opened this issue Jan 6, 2016 · 3 comments
Open

Redo error handling #2

hansihe opened this issue Jan 6, 2016 · 3 comments
Milestone

Comments

@hansihe
Copy link
Member

hansihe commented Jan 6, 2016

I am not happy with the way NifError works at the moment. It should be revised/improved and integrated with already written code.

@hansihe hansihe modified the milestones: 0.12, 1.0 Jan 19, 2017
@scrogson
Copy link
Member

@hansihe do you have anything in mind for this?

@hansihe
Copy link
Member Author

hansihe commented Jan 20, 2017

@scrogson I have not thought about it very much, but I do not think the way it currently works is very nice.

@scrogson
Copy link
Member

I think it might be time to pull in the failure crate and provide errors as structs. All Results become: Result<T, failure::Error>.

@hansihe hansihe changed the title Revise NifError Redo error handling Mar 8, 2019
@hansihe hansihe added this to To do in Ergonomics Redux via automation Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants