Class ErrorPrototypeBuiltins.ForeignErrorPrototypeCauseNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
ErrorPrototypeBuiltins

public abstract static class ErrorPrototypeBuiltins.ForeignErrorPrototypeCauseNode extends JSBuiltinNode
  • Constructor Details

    • ForeignErrorPrototypeCauseNode

      public ForeignErrorPrototypeCauseNode(JSContext context, JSBuiltin builtin)
  • Method Details

    • getCause

      protected Object getCause(Object error, com.oracle.truffle.api.interop.InteropLibrary interop, ImportValueNode importNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)