yera.runtime.exceptions
Event-related exceptions.
Symbols
InputProtocolError
ExceptionBase error for an invalid input protocol transition.
InputRequestMismatchError
InputProtocolErrorRaised when a response targets a different input request.
InputTypeMismatchError
InputProtocolErrorRaised when a response carries the wrong typed input data.
StreamEndedError
RuntimeErrorRaised when an event iterator ends without a terminating event.
Signals that the producer stopped — process died, stream closed — before
emitting a lifecycle or prompt event. Subclasses RuntimeError so
existing broad handlers keep working during the transition.
UnsupportedAwaitUserBlockError
ExceptionRaised when the built-in stream handler encounters an await_user block other than text input.
The built-in stream handler (used when the app is invoked directly, not via the stream
server) only supports input_request. For buttons, slider, date picker forms, etc., run the
app using the dev server (web UI) via the yera CLI.
Methods
UnsupportedAwaitUserBlockError.__init__
__init__(
block_type: str,
) → NoneBuild an error identifying the unsupported interactive block.
Parameters
Block type encountered by the built-in stream handler.