UNPKG

@tomneutens/serial_monitor

Version:

A web based serial monitor for communicating with serial devices (like Arduino). The library is based on native web components and uses the WebSerial API to communicate with the external device.

13 lines 341 B
/** * @author Tom Neutens <tomneutens@gmail.com> */ class OpenSerialPortError extends Error { constructor(msg) { super(JSON.stringify({ error: "Unable to open serial port!", message: msg })); } } export default OpenSerialPortError; //# sourceMappingURL=OpenSerialPortError.js.map