Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 25cb84e270d93eeac051d36c51fe096a622349aa..d628a839ad806e39b1ea244e8e9ebe1569a06b05 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -1109,6 +1109,12 @@ class V8_EXPORT Message { |
Local<String> GetSourceLine() const; |
/** |
+ * Returns the origin for the script from where the function causing the |
+ * error originates. |
+ */ |
+ ScriptOrigin GetScriptOrigin() const; |
+ |
+ /** |
* Returns the resource name for the script from where the function causing |
* the error originates. |
*/ |