These are chat archives for pozadi/kefir

27th
Jul 2015
Elia Schelokov
@thaumant
Jul 27 2015 14:33
Ok, it's simpler API vs simpler debugging then : )
Ulric Wilfred
@shamansir
Jul 27 2015 14:36
I think this case is not the problem Kefir should solve, you may create a stream of syntax errors, if you want.
Elia Schelokov
@thaumant
Jul 27 2015 14:47
This is not only about syntax errors. In any language with exceptions it feels natural to throw ValidationError, for example.
And it's strange for me that rejected promise or callback(error) turn into error event, but thown errors work another way.
Ulric Wilfred
@shamansir
Jul 27 2015 14:50
so you may emit an error in your event stream, aren’t you? Oh, it was removed with Kefir.emitter, I see.