ptrks / node-omron-fins

An implementation of the Omron FINS library for node js
Apache License 2.0
48 stars 39 forks source link

Error for wrong data value for bit writing is too harsh #22

Open ceremcem opened 2 years ago

ceremcem commented 2 years ago

There is no need for process.exit() when value is outside of desired range. Simply throwing error is enough.