Closed medikoo closed 8 years ago
This is off the table, for following reasons:
then
callbacks in question, we may also ask user to deal with operational errors by returning rejected promises and not throwing, and that would be make very controversial design decision (to design which is already widely accepted).Putting it simply if it cannot be both consistent with other methods and make programming errors being catchable it's no-go.
Those callbacks are invoked immediately, and any crashes in them should be treated as programmer errors.