This involves a global or local error handler. All backend functions are called in appState. So we can handle the erros there (globally) are propagate them to the caller (locally).
We also need a background errors channel. Just like the serial_packet_event and serial_ports_event in App.vue: error_event. therefore we will:
This involves a global or local error handler. All backend functions are called in appState. So we can handle the erros there (globally) are propagate them to the caller (locally).
We also need a background errors channel. Just like the
serial_packet_event
andserial_ports_event
inApp.vue
:error_event
. therefore we will: