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

Add impl std::error::Error for FluentError #3

Merged
merged 1 commit into from
Feb 25, 2018

Conversation

guangie88
Copy link
Contributor

Hello @cosmo0920, currently I am using your fruently crate, and thanks for your good work! 👍

I am not sure if you are willing to accept PR, but I would like to add some features as listed below, and hopefully you don't mind.

Changes:

  • Add Error trait implementation so that it can be used together with failure crate easily.
  • Add additional unit test for the trait implementation.

Let me know if you have any comments (e.g. bumping crate version) and thanks!

Copy link
Owner

@cosmo0920 cosmo0920 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I’ll take a look.
Thank you for your work.

@guangie88
Copy link
Contributor Author

No problem and you are welcome.

Copy link
Owner

@cosmo0920 cosmo0920 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've read this article and your test code.
This change is pretty reasonable. 👍

@cosmo0920 cosmo0920 merged commit 46e1da6 into cosmo0920:master Feb 25, 2018
@cosmo0920
Copy link
Owner

I'd published this change as 0.10.0.
If there is something willing to change this crate, I'll be a pleasure to review and accept your work.
Anyway, thank you for your great work! 😄

@guangie88
Copy link
Contributor Author

Sure thank you for accepting the PR! 😄
I actually have another minor PR, and will continue from there.

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.

2 participants