5#ifndef INCLUDE_V8_EXCEPTION_H_
6#define INCLUDE_V8_EXCEPTION_H_
111 exception_(exception),
112 interface_name_(interface_name),
113 property_name_(property_name),
114 exception_context_(exception_context) {}
121 return exception_context_;
257 void*
operator new(
size_t size);
258 void*
operator new[](
size_t size);
259 void operator delete(
void*, size_t);
260 void operator delete[](
void*, size_t);
274 return js_stack_comparable_address_;
277 void ResetInternal();
279 internal::Isolate* i_isolate_;
284 bool is_verbose_ : 1;
285 bool can_continue_ : 1;
286 bool capture_message_ : 1;
289 friend class internal::Isolate;
290 friend class internal::ThreadLocalTop;
Definition: v8-exception.h:104
Local< String > GetPropertyName() const
Definition: v8-exception.h:119
Isolate * GetIsolate() const
Definition: v8-exception.h:116
Local< Object > GetException() const
Definition: v8-exception.h:117
Local< String > GetInterfaceName() const
Definition: v8-exception.h:118
ExceptionContext GetExceptionContext() const
Definition: v8-exception.h:120
ExceptionPropagationMessage(v8::Isolate *isolate, Local< Object > exception, Local< String > interface_name, Local< String > property_name, ExceptionContext exception_context)
Definition: v8-exception.h:106
Definition: v8-exception.h:32
static Maybe< bool > CaptureStackTrace(Local< Context > context, Local< Object > object)
static Local< Message > CreateMessage(Isolate *isolate, Local< Value > exception)
static Local< StackTrace > GetStackTrace(Local< Value > exception)
static Local< Value > WasmSuspendError(Local< String > message, Local< Value > options={})
static Local< Value > RangeError(Local< String > message, Local< Value > options={})
static Local< Value > TypeError(Local< String > message, Local< Value > options={})
static Local< Value > WasmRuntimeError(Local< String > message, Local< Value > options={})
static Local< Value > ReferenceError(Local< String > message, Local< Value > options={})
static Local< Value > WasmCompileError(Local< String > message, Local< Value > options={})
static Local< Value > SyntaxError(Local< String > message, Local< Value > options={})
static Local< Value > WasmLinkError(Local< String > message, Local< Value > options={})
static Local< Value > Error(Local< String > message, Local< Value > options={})
Definition: v8-isolate.h:261
Definition: v8-local-handle.h:266
Definition: v8-local-handle.h:632
Definition: v8-maybe.h:32
Definition: v8-exception.h:138
void SetVerbose(bool value)
Local< v8::Message > Message() const
bool HasTerminated() const
MaybeLocal< Value > StackTrace(Local< Context > context) const
void SetCaptureMessage(bool value)
TryCatch(Isolate *isolate)
TryCatch(const TryCatch &)=delete
static MaybeLocal< Value > StackTrace(Local< Context > context, Local< Value > exception)
void operator=(const TryCatch &)=delete
Local< Value > Exception() const
uintptr_t Address
Definition: v8-internal.h:52
Definition: libplatform.h:15
void(*)(ExceptionPropagationMessage message) ExceptionPropagationCallback
Definition: v8-exception.h:133
ExceptionContext
Definition: v8-exception.h:78
#define V8_EXPORT
Definition: v8config.h:793
#define V8_INLINE
Definition: v8config.h:499
#define V8_WARN_UNUSED_RESULT
Definition: v8config.h:660