Adds an additional options parameter to the Error() constructor with a cause property, the value of which will be assigned to the error instances as a property. This allows errors to be chained without unnecessary and overelaborate formalities on wrapping the errors in conditions.
None
LGTM1
/Daniel
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGFuzY1AorjfOfbAoF7f-8%3DSs3gpQZZH2E8OuQNKhjne9Uyr0g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/7749da46-bf2f-9e09-e37b-c5593af1dc53%40gmail.com.
Btw, what has Firefox people said about the collision in the Error constructor?
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/e645f68a-7a0e-78ef-3c79-7773715442c0%40gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY9QE883vd0H_nHGGR0m5G4-1sCp24W8HhXpviHhR8%3DQUw%40mail.gmail.com.
Good that it doesn't cause any implementation problems!
/Daniel