Currently, for an embedder implementing a custom Web platform API like DOMException, it's a bit convoluted to capture the `stack` property. I'd like to contribute an implementation of a new C++ API `v8::Exception::CaptureStackTrace(...)` that would allow an embedder to attach the `stack` property to a given object.
Not accounting for tests, the change itself is limited to v8-exception.h and api.cc