v8
6.2.414 (node 8.16.2)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
V8_DEPRECATED ("Use version with an Isolate*", static Local< Message > CreateMessage(Local< Value > exception)) | |
Static Public Member Functions | |
static Local< Value > | RangeError (Local< String > message) |
static Local< Value > | ReferenceError (Local< String > message) |
static Local< Value > | SyntaxError (Local< String > message) |
static Local< Value > | TypeError (Local< String > message) |
static Local< Value > | Error (Local< String > message) |
static Local< Message > | CreateMessage (Isolate *isolate, Local< Value > exception) |
static Local< StackTrace > | GetStackTrace (Local< Value > exception) |
Create new error objects by calling the corresponding error object constructor with the message.
Creates an error message for the given exception. Will try to reconstruct the original stack trace from the exception value, or capture the current stack trace if not available.
|
static |
Returns the original stack trace that was captured at the creation time of a given exception, or an empty handle if not available.
V8_DEPRECATED | ( | "Use version with an Isolate*" | , |
static Local< Message > | CreateMessageLocal< Value > exception | ||
) |