v8  6.2.414(node8.16.0)
V8 is Google's open source JavaScript engine
PromiseRejectMessage Class Reference

#include <v8.h>

Public Member Functions

 PromiseRejectMessage (Local< Promise > promise, PromiseRejectEvent event, Local< Value > value, Local< StackTrace > stack_trace)
 
V8_INLINE Local< PromiseGetPromise () const
 
V8_INLINE PromiseRejectEvent GetEvent () const
 
V8_INLINE Local< ValueGetValue () const
 
 V8_DEPRECATED ("Use v8::Exception::CreateMessage(GetValue())->GetStackTrace()", V8_INLINE Local< StackTrace > GetStackTrace() const)
 

Detailed Description

Definition at line 6252 of file v8.h.

Constructor & Destructor Documentation

◆ PromiseRejectMessage()

PromiseRejectMessage ( Local< Promise promise,
PromiseRejectEvent  event,
Local< Value value,
Local< StackTrace stack_trace 
)
inline

Definition at line 6254 of file v8.h.

Member Function Documentation

◆ GetEvent()

V8_INLINE PromiseRejectEvent GetEvent ( ) const
inline

Definition at line 6262 of file v8.h.

◆ GetPromise()

V8_INLINE Local<Promise> GetPromise ( ) const
inline

Definition at line 6261 of file v8.h.

◆ GetValue()

V8_INLINE Local<Value> GetValue ( ) const
inline

Definition at line 6263 of file v8.h.

◆ V8_DEPRECATED()

V8_DEPRECATED ( "Use v8::Exception::CreateMessage(GetValue())->GetStackTrace()"  ,
V8_INLINE Local< StackTrace > GetStackTrace() const   
)
inline

Definition at line 6265 of file v8.h.


The documentation for this class was generated from the following file: