Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index db625eeb4242be3d594628fdf8f2f450d0ef894e..89ffa0275ff97d8ca576e649285ef23591adc633 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -1478,6 +1478,11 @@ class V8_EXPORT Message { |
| */ |
| bool IsSharedCrossOrigin() const; |
| + /** |
| + * Returns the Isolate where the error occured. |
| + */ |
| + Isolate* GetIsolate() const; |
| + |
| // TODO(1245381): Print to a string instead of on a FILE. |
| static void PrintCurrentStackTrace(Isolate* isolate, FILE* out); |