Skip to main content

Module error

Module error 

Source
Expand description

Error types for the kbd-global runtime.

Errors are scoped to the operation that produces them:

  • StartupError — manager construction and engine spawn
  • RegisterError — binding registration (hotkeys, sequences, tap-hold)
  • LayerError — layer definition and stack operations
  • QueryError — hotkey queries that accept parseable input
  • ShutdownError — manager and engine shutdown
  • ManagerStopped — standalone error for simple queries with no domain failure modes

Structs§

ManagerStopped
The manager has been shut down or the engine thread has exited.

Enums§

LayerError
Error returned when a layer operation fails.
QueryError
Error returned by query methods that accept parseable hotkey input.
RegisterError
Error returned when registering a binding fails.
ShutdownError
Error returned when shutting down the manager.
StartupError
Error returned when starting the manager or spawning the engine.