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

refac(net, exchange, dht) network service errors #101

Closed
wants to merge 2 commits into from

Commits on Sep 24, 2014

  1. feat(bitswap:network) propagate errors up the stack

    Rather than pushing errors back down to lower layers, propagate the
    errors upward.
    
    This commit adds a `ReceiveError` method to BitSwap's network receiver.
    
    Still TODO: rm the error return value from:
    
        net.service.handler.HandleMessage
    
    This is inspired by delegation patterns in found in the wild.
    Brian Tiger Chow committed Sep 24, 2014
    Configuration menu
    Copy the full SHA
    245dbd6 View commit details
    Browse the repository at this point in the history
  2. feat(net:service, routing) remove error return value

    Brian Tiger Chow committed Sep 24, 2014
    Configuration menu
    Copy the full SHA
    623cb6c View commit details
    Browse the repository at this point in the history