A way of explicitly reporting exceptions
Tab Atkins Jr.
jackalmage at gmail.com
Mon Jun 23 13:26:58 PDT 2014
On Mon, Jun 23, 2014 at 1:25 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 6/23/14, 4:17 PM, Kevin Reid wrote:
>> Clarification: I meant how promptly the listener is invoked (independent
>> of the error case).
> Oh, yes. Calling the callback itself off a timeout is a non-starter. I
> assume that Tab was talking about rethrowing the exception off a timeout.
Correct; that's why I quoted the OP's second code example, which does
a try/catch and then asks "now what?".
More information about the es-discuss