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

Implement std::error::Error for InboundFailure and OutboundFailure #2033

Merged
merged 4 commits into from
Apr 8, 2021

Conversation

thomaseizinger
Copy link
Contributor

Fixes #2017.

Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Thanks @thomaseizinger!

Would you mind applying the diff below?

diff --git a/protocols/request-response/CHANGELOG.md b/protocols/request-response/CHANGELOG.md
index c5e83706..7f5264e5 100644
--- a/protocols/request-response/CHANGELOG.md
+++ b/protocols/request-response/CHANGELOG.md
@@ -2,6 +2,9 @@
 
 - Update `libp2p-swarm`.
 
+- Implement `std::error::Error` for `InboundFailure` and `OutboundFailure` [PR
+  2033](https://github.com/libp2p/rust-libp2p/pull/2033).
+

protocols/request-response/src/lib.rs Outdated Show resolved Hide resolved
protocols/request-response/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Thanks @thomaseizinger!

@mxinden mxinden merged commit 385af35 into libp2p:master Apr 8, 2021
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.

Implement std::error::Error for InboundFailure and OutboundFailure of request-response?
2 participants