5#ifndef INCLUDE_V8_EXCEPTION_H_
6#define INCLUDE_V8_EXCEPTION_H_
185 void*
operator new(
size_t size);
186 void*
operator new[](
size_t size);
187 void operator delete(
void*, size_t);
188 void operator delete[](
void*, size_t);
202 return js_stack_comparable_address_;
205 void ResetInternal();
207 internal::Isolate* i_isolate_;
212 bool is_verbose_ : 1;
213 bool can_continue_ : 1;
214 bool capture_message_ : 1;
217 friend class internal::Isolate;
218 friend class internal::ThreadLocalTop;
static Local< Value > WasmCompileError(Local< String > message, Local< Value > options={})
static Local< Value > WasmLinkError(Local< String > message, Local< Value > options={})
static Local< Value > SyntaxError(Local< String > message, Local< Value > options={})
static Local< Value > WasmRuntimeError(Local< String > message, Local< Value > options={})
static Local< Value > TypeError(Local< String > message, Local< Value > options={})
static Local< Message > CreateMessage(Isolate *isolate, Local< Value > exception)
static Local< StackTrace > GetStackTrace(Local< Value > exception)
static Local< Value > Error(Local< String > message, Local< Value > options={})
static Local< Value > RangeError(Local< String > message, Local< Value > options={})
static Local< Value > ReferenceError(Local< String > message, Local< Value > options={})
Local< Value > Exception() const
Local< v8::Message > Message() const
TryCatch(const TryCatch &)=delete
void operator=(const TryCatch &)=delete
void SetCaptureMessage(bool value)
static V8_WARN_UNUSED_RESULT MaybeLocal< Value > StackTrace(Local< Context > context, Local< Value > exception)
V8_WARN_UNUSED_RESULT MaybeLocal< Value > StackTrace(Local< Context > context) const
bool HasTerminated() const
void SetVerbose(bool value)
TryCatch(Isolate *isolate)
#define V8_WARN_UNUSED_RESULT