You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dariusc93
changed the title
swarm: report ConnectionError to FromSwarm::ConnectionClosed
swarm: Add ConnectionError to FromSwarm::ConnectionClosedJul 8, 2024
Description
Expose
ConnectionError
toFromSwarm::ConnectionClosed
to allow behaviours to see the error that is related to the closure of the connection.Motivation
When a connection close due to an error, the behaviour would not know or be able to act on that error, while swarm would be notified of the error.
Current Implementation
FromSwarm::ConnectionClosed
does not report or provideConnectionError
.Are you planning to do it yourself in a pull request ?
Yes
The text was updated successfully, but these errors were encountered: