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,
com.oracle.truffle.api.object.DynamicObject error,
com.oracle.truffle.api.object.DynamicObject structuredStackTrace) |