public interface PrepareStackTraceCallback
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.| Modifier and Type | Method and Description |
|---|---|
Object |
prepareStackTrace(JSRealm realm,
JSDynamicObject error,
JSDynamicObject structuredStackTrace) |
Object prepareStackTrace(JSRealm realm, JSDynamicObject error, JSDynamicObject structuredStackTrace)