Skip to main content

failing_component_binding

Function failing_component_binding 

Source
pub fn failing_component_binding() -> &'static str
Expand description

__LGX_FAIL_C / __LGX_FAIL_K — WHICH turn is running right now: a component id and an instance key, written at the top of every turn.

★ THE HOST CANNOT KNOW THIS, AND DOES NOT HAVE TO. A trap unwinds to the host, which learns only that something failed; it has no idea which component’s action was mid-flight. The module does, because it just wrote it down — so When an action fails (e: Text): is dispatched by compiled LOGOS exactly like every other trigger, and the host’s whole contribution is to say “that trapped, here is the message”.