5#ifndef INCLUDE_V8_EXCEPTION_H_
6#define INCLUDE_V8_EXCEPTION_H_
193 void*
operator new(
size_t size);
194 void*
operator new[](
size_t size);
195 void operator delete(
void*, size_t);
196 void operator delete[](
void*, size_t);
210 return js_stack_comparable_address_;
213 void ResetInternal();
215 internal::Isolate* i_isolate_;
220 bool is_verbose_ : 1;
221 bool can_continue_ : 1;
222 bool capture_message_ : 1;
225 friend class internal::Isolate;
226 friend class internal::ThreadLocalTop;
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 > 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:210
Definition: v8-local-handle.h:258
Definition: v8-local-handle.h:619
Definition: v8-maybe.h:32
Definition: v8-exception.h:74
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:31
Definition: libplatform.h:15
#define V8_EXPORT
Definition: v8config.h:762
#define V8_WARN_UNUSED_RESULT
Definition: v8config.h:637