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

Fuel/Request_Response v0.0.2: More meaningful error messages #2377

Open
wants to merge 23 commits into
base: master
Choose a base branch
from

Conversation

acerone85
Copy link
Contributor

@acerone85 acerone85 commented Oct 21, 2024

Linked Issues/PRs

Closes #1311

Description

This PR follows #2362, which introduces a new version of the protocol /fuel/req_response/0.0.2 which allows to return Errors in the response. This PR makes the following changes:

  • the different errors that can be returned in a response are implemented.
  • The type of ResponseSender used by a peer to propagate received responses upstream is changed to allow the rrors to be propagated
  • Error Responses received by a peer following a request are displayed with as log messages with warning level.

Checklist

  • Breaking changes are clearly marked as such in the PR description and changelog
  • New behavior is reflected in tests
  • The specification matches the implemented behavior (link update PR if changes are needed)

Before requesting review

  • I have reviewed the code myself
  • I have created follow-up issues caused by this PR and linked them here

After merging, notify other teams

[Add or remove entries as needed]

@acerone85 acerone85 changed the base branch from release/v0.40.0 to 1311-return-better-error-messages-from-p2p-requests October 21, 2024 15:40
@acerone85 acerone85 force-pushed the 1311-return-better-error-messages-from-p2p-requests-pt-2 branch from 11000a8 to 7b2bf3b Compare October 21, 2024 18:27
@acerone85 acerone85 force-pushed the 1311-return-better-error-messages-from-p2p-requests-pt-2 branch from 7b2bf3b to 1bc4253 Compare October 21, 2024 18:33
Base automatically changed from 1311-return-better-error-messages-from-p2p-requests to master October 22, 2024 12:46
@acerone85 acerone85 changed the title (WIP) Fuel/Request_Response v0.0.2: More meaningful error messages Fuel/Request_Response v0.0.2: More meaningful error messages Oct 22, 2024
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.

1 participant