
6 Aug
2009
6 Aug
'09
5:13 a.m.
That's right. Originally, it used a custom Either type, but it isn't possible to stream decoders that way.
What about this: you could return a pair (Result,Error). By forcing the Result you get an exception if there is an error. You can check the Error always without risk of exception. Cheers, JP.