#include <v8.h>
|
static void | PrintCurrentStackTrace (Isolate *isolate, FILE *out) |
|
|
static const int | kNoLineNumberInfo = 0 |
|
static const int | kNoColumnInfo = 0 |
|
static const int | kNoScriptIdInfo = 0 |
|
An error message.
Definition at line 1595 of file v8.h.
◆ ErrorLevel()
int v8::Message::ErrorLevel |
( |
| ) |
const |
Returns the error level of the message.
Definition at line 2829 of file api.cc.
◆ GetEndColumn()
int v8::Message::GetEndColumn |
( |
| ) |
const |
Returns the index within the line of the last character where the error occurred.
Definition at line 2847 of file api.cc.
◆ GetEndPosition()
int v8::Message::GetEndPosition |
( |
| ) |
const |
Returns the index within the script of the last character where the error occurred.
Definition at line 2824 of file api.cc.
◆ GetIsolate()
v8::Isolate * v8::Message::GetIsolate |
( |
| ) |
const |
Return the isolate to which the Message belongs.
Definition at line 2777 of file api.cc.
◆ GetLineNumber()
Maybe< int > v8::Message::GetLineNumber |
( |
Local< Context > |
context | ) |
const |
Returns the number, 1-based, of the line where the error occurred.
Definition at line 2808 of file api.cc.
◆ GetScriptOrigin()
Returns the origin for the script from where the function causing the error originates.
Definition at line 2782 of file api.cc.
◆ GetScriptResourceName()
Returns the resource name for the script from where the function causing the error originates.
Definition at line 2791 of file api.cc.
◆ GetStackTrace()
Exception stack trace. By default stack traces are not captured for uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows to change this option.
Definition at line 2796 of file api.cc.
◆ GetStartColumn()
int v8::Message::GetStartColumn |
( |
| ) |
const |
Returns the index within the line of the first character where the error occurred.
Definition at line 2834 of file api.cc.
◆ GetStartPosition()
int v8::Message::GetStartPosition |
( |
| ) |
const |
Returns the index within the script of the first character where the error occurred.
Definition at line 2818 of file api.cc.
◆ IsSharedCrossOrigin()
bool v8::Message::IsSharedCrossOrigin |
( |
| ) |
const |
Passes on the value set by the embedder when it fed the script from which this Message was generated to V8.
Definition at line 2865 of file api.cc.
The documentation for this class was generated from the following files: