monadic-xyz / gossip

Epidemic Broadcast Trees implementation using HyParView
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Consider `try`ing IO actions which could throw #27

Open kim opened 5 years ago

kim commented 5 years ago

e.g. trying to send through a socket which went away is handled internally, but still throws without the constructor exported. Handling all synchronous exceptions from user code is the right thing to do, but not obvious from the types.