Interface PrepareStackTraceCallback
public interface PrepareStackTraceCallback
Prepare stack trace callback is invoked when
stack property of an error is accessed for
the first time (to initialize the value of this property). When a prepare stack trace callback is
registered then Error.prepareStackTrace is not used during the initialization of
stack property.-
Method Summary
Modifier and TypeMethodDescriptionprepareStackTrace(JSRealm realm, JSDynamicObject error, JSDynamicObject structuredStackTrace)
-
Method Details
-
prepareStackTrace
Object prepareStackTrace(JSRealm realm, JSDynamicObject error, JSDynamicObject structuredStackTrace)
-