Closed domenic closed 11 years ago
It's a good point. What do you think it should do?
The rejection reason (error, I think it's called now?) should be 5
or undefined
.
+1, any thrown value should be passed to the rejection call back (as it is in _onResolution)
Changing the text to indicate that this is how it works. Thanks for spotting it!
It seems from the IDL that resolvers are not going to allow rejecting with non-
Error
s. OK. But what about this sentence?What if the callback throws a non-
Error
? E.g.or worse,
?