Jugendhackt / haskell-ricochet

(WIP/Experimental) Ricochet implementation as Haskell Library.
GNU General Public License v3.0
22 stars 0 forks source link

Add ExceptT to Ricochet Monad transformer stack #16

Open photm5 opened 9 years ago

photm5 commented 9 years ago

We’ll want to respond to errors, eg. see Connection.hs.

froozen commented 9 years ago

Where exactly do we need exceptions?

photm5 commented 9 years ago

Whenever the remote peer sends something we cannot parse. I opened this issue when there were stdout messages in Connection.hs.

sternenseemann commented 9 years ago

Would fail be enough for now?

froozen commented 9 years ago

No, because usually fail = error. That would cause a crash, which is not really what we want.

sternenseemann commented 9 years ago

I see.