yera.runtime.handlers.fallback
Fallback handler: pretty-prints unrecognised event blocks as JSON.
Symbols
class FallbackHandler — Renders unregistered block types by printing their JSON payload to the console.
FallbackHandler
Inherits:
BaseHandlerRenders unregistered block types by printing their JSON payload to the console.
Methods
push — Print the block type warning and JSON-serialised event data to the console.
FallbackHandler.push
push(
event: OutputEvent,
) → NonePrint the block type warning and JSON-serialised event data to the console.
Parameters
event
type: OutputEvent
The unrecognised output event to render.