dotnet-libp2p icon indicating copy to clipboard operation
dotnet-libp2p copied to clipboard

Better error handling

Open flcl42 opened this issue 2 years ago • 0 comments

The core can handle exceptions, connection issues, protocol errors much better. Potential improvements:

  • [x] Add dotnet-libp2p specific exceptions for issues appeared during stack building, setting up connection, regular protocol work
  • [x] Add simple reconnection API, consider circuit breaker pattern
  • [ ] Confirm exceptions are passed from session protocols to the caller
  • [ ] Confirm broken session is traceable if failure appears on transport/connection level

flcl42 avatar Aug 12 '23 19:08 flcl42