yera.runtime.blocks.exit
Emit the lifecycle event that completes an application run.
Successful exits serialize the declared return value and type. Failed exits carry a normalized error cause without a return payload. If successful return serialization fails, the block converts that failure into a failed lifecycle event so the host receives a valid terminal outcome.
Symbols
unsupported_block_event
unsupported_block_event(
block_type: str,
) → NonePush an exit event for an unsupported await_user block (e.g. form).
Block factories use this when is_restricted_stream() is True, then raise UnsupportedAwaitUserBlockError. Uses exit_event() so the event has the correct app_instance from the current context.
Parameters
block_type
type: str
Unsupported input block type encountered by the renderer.