Class ErrorPrototypeBuiltins.ForeignErrorPrototypeMessageNode

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

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

    • ForeignErrorPrototypeMessageNode

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

    • getMessage

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