I'm afraid not - throwing exceptions from within jshPinSetState could be a bit awkward as well. It might be better just to ignore it :S
You can at least define 'notes' next to the pins in BOARD.py so that the Pin diagram mentions that there's an issue (check the Pico for an example)
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm afraid not - throwing exceptions from within jshPinSetState could be a bit awkward as well. It might be better just to ignore it :S
You can at least define 'notes' next to the pins in BOARD.py so that the Pin diagram mentions that there's an issue (check the Pico for an example)