You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the abortion error for waitFor and asIterator contains only information of the abortion point. A complete abortion error should indicate the following:
Where the asynchronous operation was issued (caller stack trace of waitFor and asIterator)
Why and where the asynchronous operation was aborted (whatever error caused the abortion and the stack trace of the abort call)
The implementation may use Error.captureStackTrace (may be polyfilled by constructing a new Error instance).
As a result, the new abortion error will have an additional cause property linked to the old abortion error.
The text was updated successfully, but these errors were encountered:
Proposal: optimize error stack trace
Currently, the abortion error for
waitFor
andasIterator
contains only information of the abortion point. A complete abortion error should indicate the following:waitFor
andasIterator
)abort
call)The implementation may use
Error.captureStackTrace
(may be polyfilled by constructing a newError
instance).As a result, the new abortion error will have an additional
cause
property linked to the old abortion error.The text was updated successfully, but these errors were encountered: