Example "freewheeling" app that can be modified without restarting; useful starting point for further forks

better organization of errors

There are 2 kinds of errors: load-time and run-time.

  • Load-time errors are responses to commands, so we send them back in the regular channel, prefixed with the token 'ERROR'.
  • Run-time errors can happen any time. We send them in a separate channel without any prefix.

The driver tracks both kinds of errors separately, clears both before sending a command, and prefers to display load-time errors if they exist rather than run-time errors.

Created by  Kartik K. Agaram  on November 16, 2022
BXXTVMBQJYLA43IHDYYUBKBVEQKKIDD5FSYMSYFXD5BCCLLPJZ3QC
In channels
main
Change contents