#include <v8-message.h>
An error message.
Definition at line 110 of file v8-message.h.
◆ ErrorLevel()
Returns the error level of the message.
◆ Get()
◆ GetEndColumn() [1/2]
int GetEndColumn |
( |
| ) |
const |
Returns the index within the line of the last character where the error occurred.
◆ GetEndColumn() [2/2]
◆ GetEndPosition()
int GetEndPosition |
( |
| ) |
const |
Returns the index within the script of the last character where the error occurred.
◆ GetIsolate()
Return the isolate to which the Message belongs.
◆ GetLineNumber()
Returns the number, 1-based, of the line where the error occurred.
◆ GetScriptOrigin()
Returns the origin for the script from where the function causing the error originates.
◆ GetScriptResourceName()
Returns the resource name for the script from where the function causing the error originates.
◆ GetSource()
◆ GetSourceLine()
◆ GetStackTrace()
Exception stack trace. By default stack traces are not captured for uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows to change this option.
◆ GetStartColumn() [1/2]
int GetStartColumn |
( |
| ) |
const |
Returns the index within the line of the first character where the error occurred.
◆ GetStartColumn() [2/2]
◆ GetStartPosition()
int GetStartPosition |
( |
| ) |
const |
Returns the index within the script of the first character where the error occurred.
◆ GetWasmFunctionIndex()
int GetWasmFunctionIndex |
( |
| ) |
const |
Returns the Wasm function index where the error occurred. Returns -1 if message is not from a Wasm script.
◆ IsOpaque()
◆ IsSharedCrossOrigin()
bool IsSharedCrossOrigin |
( |
| ) |
const |
Passes on the value set by the embedder when it fed the script from which this Message was generated to V8.
◆ PrintCurrentStackTrace()
static void PrintCurrentStackTrace |
( |
Isolate * |
isolate, |
|
|
std::ostream & |
out |
|
) |
| |
|
static |
◆ kNoColumnInfo
const int kNoColumnInfo = 0 |
|
static |
◆ kNoLineNumberInfo
const int kNoLineNumberInfo = 0 |
|
static |
◆ kNoScriptIdInfo
const int kNoScriptIdInfo = 0 |
|
static |
◆ kNoWasmFunctionIndexInfo
const int kNoWasmFunctionIndexInfo = -1 |
|
static |
The documentation for this class was generated from the following file: