yera.runtime.exceptions

Event-related exceptions.

Symbols

class InputProtocolError — Base error for an invalid input protocol transition.
class InputRequestMismatchError — Raised when a response targets a different input request.
class InputTypeMismatchError — Raised when a response carries the wrong typed input data.
class InputValueError — Raised when submitted input is invalid for its request.
class UnsupportedAwaitUserBlockError — Raised when the built-in stream handler encounters an await_user block other than text input.

InputProtocolError

Inherits: Exception

Base error for an invalid input protocol transition.

InputRequestMismatchError

Raised when a response targets a different input request.

InputTypeMismatchError

Raised when a response carries the wrong typed input data.

InputValueError

Raised when submitted input is invalid for its request.

UnsupportedAwaitUserBlockError

Inherits: Exception

Raised 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.