@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.
12 lines (9 loc) • 324 B
text/typescript
/**
* @author Tom Neutens <tomneutens@gmail.com>
*/
class InvalidArugmentError extends Error {
constructor(argumentName: string, expectedFormat: string){
super(`The argument ${argumentName} does not adhere to the input requirements: ${expectedFormat}`)
}
}
export default InvalidArugmentError