Package io.karatelabs.js
Interface FlowControlSignal
public interface FlowControlSignal
Marker interface for exceptions that represent flow-control signals (not errors)
thrown from JavaScript-callable host functions.
Engine.eval(io.karatelabs.parser.Node) lets these
through unchanged instead of wrapping them, so upstream callers can catch them
by type and treat them as intentional control flow.
Implementations must extend RuntimeException. Typical use: signaling
"abort current evaluation cleanly" from server-side templates or API handlers.