Skip to content

Better error handling #21

@flcl42

Description

@flcl42

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

  • Add dotnet-libp2p specific exceptions for issues appeared during stack building, setting up connection, regular protocol work
  • 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions