haskell-ricochet icon indicating copy to clipboard operation
haskell-ricochet copied to clipboard

Add ExceptT to Ricochet Monad transformer stack

Open photm5 opened this issue 10 years ago • 5 comments

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

photm5 avatar Oct 18 '15 11:10 photm5

Where exactly do we need exceptions?

froozen avatar Oct 26 '15 20:10 froozen

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

photm5 avatar Oct 26 '15 21:10 photm5

Would fail be enough for now?

sternenseemann avatar Nov 12 '15 18:11 sternenseemann

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

froozen avatar Nov 12 '15 21:11 froozen

I see.

sternenseemann avatar Nov 12 '15 21:11 sternenseemann