#include <v8-message.h>
An error message.
Definition at line 107 of file v8-message.h.
◆ ErrorLevel()
int v8::Message::ErrorLevel |
( |
| ) |
const |
Returns the error level of the message.
Definition at line 2944 of file api.cc.
◆ Get()
◆ GetEndColumn() [1/2]
int v8::Message::GetEndColumn |
( |
| ) |
const |
Returns the index within the line of the last character where the error occurred.
Definition at line 2987 of file api.cc.
◆ GetEndColumn() [2/2]
◆ GetEndPosition()
int v8::Message::GetEndPosition |
( |
| ) |
const |
Returns the index within the script of the last character where the error occurred.
Definition at line 2935 of file api.cc.
◆ GetIsolate()
Return the isolate to which the Message belongs.
Definition at line 2874 of file api.cc.
◆ GetLineNumber()
Returns the number, 1-based, of the line where the error occurred.
Definition at line 2917 of file api.cc.
◆ GetScriptOrigin()
Returns the origin for the script from where the function causing the error originates.
Definition at line 2879 of file api.cc.
◆ GetScriptResourceName()
Returns the resource name for the script from where the function causing the error originates.
Definition at line 2901 of file api.cc.
◆ GetSource()
◆ GetSourceLine()
◆ GetStackTrace()
Exception stack trace. By default stack traces are not captured for uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows to change this option.
Definition at line 2906 of file api.cc.
◆ GetStartColumn() [1/2]
int v8::Message::GetStartColumn |
( |
| ) |
const |
Returns the index within the line of the first character where the error occurred.
Definition at line 2950 of file api.cc.
◆ GetStartColumn() [2/2]
◆ GetStartPosition()
int v8::Message::GetStartPosition |
( |
| ) |
const |
Returns the index within the script of the first character where the error occurred.
Definition at line 2926 of file api.cc.
◆ GetWasmFunctionIndex()
int v8::Message::GetWasmFunctionIndex |
( |
| ) |
const |
Returns the Wasm function index where the error occurred. Returns -1 if message is not from a Wasm script.
Definition at line 2959 of file api.cc.
◆ IsOpaque()
bool v8::Message::IsOpaque |
( |
| ) |
const |
◆ 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 3004 of file api.cc.
◆ PrintCurrentStackTrace()
If provided, the callback can be used to selectively include or redact frames based on their script names. (true to include a frame)
Definition at line 3036 of file api.cc.
◆ kNoColumnInfo
const int v8::Message::kNoColumnInfo = 0 |
|
static |
◆ kNoLineNumberInfo
const int v8::Message::kNoLineNumberInfo = 0 |
|
static |
◆ kNoScriptIdInfo
const int v8::Message::kNoScriptIdInfo = 0 |
|
static |
◆ kNoWasmFunctionIndexInfo
const int v8::Message::kNoWasmFunctionIndexInfo = -1 |
|
static |
The documentation for this class was generated from the following files: