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

errors: Introduce immediate dial error and request-response rejection reasons #227

Merged
merged 14 commits into from
Sep 5, 2024

Commits on Aug 29, 2024

  1. error: Introduce an ImmediateDialError to differentiate between net

    requests
    
    Signer-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    7b750cd View commit details
    Browse the repository at this point in the history
  2. req_resp: Introduce a reject reason for request errors

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    9b0fcf0 View commit details
    Browse the repository at this point in the history
  3. substream: Use substreamError

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    8ac4b7f View commit details
    Browse the repository at this point in the history
  4. Use RejectReason and ImmediateError

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    095b50a View commit details
    Browse the repository at this point in the history
  5. protocol: Open_substream to return SubstreamError

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    63c0881 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. protocol: Better error documentation

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    042acec View commit details
    Browse the repository at this point in the history
  2. Partially address testing

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    9aec288 View commit details
    Browse the repository at this point in the history
  3. Fix testing

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    6c48ada View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc62427 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Fix cargo clippy

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    3b70524 View commit details
    Browse the repository at this point in the history
  2. substream: Change send-frame to use SubstreamError

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    1b6b92a View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Better support for PartialEq for SubstreamError and recursive for others

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e3bb74b View commit details
    Browse the repository at this point in the history
  2. Convert SubstreamError::NotConnected to RejectReasons

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    9051b67 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/master' into lexnv/reject-reasons

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    bedebc6 View commit details
    Browse the repository at this point in the history