jankolkmeier / xbee-api

Node.js and Chrome communicate with XBee/ZigBee devices in API mode
MIT License
105 stars 51 forks source link

change throw error to emit error #25

Closed hwestbrook closed 9 years ago

hwestbrook commented 9 years ago

Easier to deal with the error if it is emitted instead of thrown.

I am relatively knew to node, so would like to hear why you have thrown the error.