kessler / node-regedit

Read, Write, List and do all sorts of funky stuff to the windows registry using node.js and windows script host
MIT License
277 stars 45 forks source link

Error niceties #16

Closed vweevers closed 8 years ago

vweevers commented 8 years ago

Hiya Kessler.

FIY, I took the error codes you had here and made wmi-errors. You might consider using it for node-regedit too, because you get a call-stack captured at the time you create the error, a simple hierarchy for instanceof checks, and some useful properties.

kessler commented 8 years ago

Vincent, I gave you permissions on the repo, can you integrate the new module?

kessler commented 8 years ago

bump :)

vweevers commented 8 years ago

First I must say: I made this for win-detect-browsers, which I was working on back then, but haven't finished that work, so wmi-errors hasn't seen any real usage yet. And atm I can't remember if I was happy with its API yet

kessler commented 8 years ago

Alrighty, shall I close the issue in the meanwhile?

vweevers commented 8 years ago

Sure. I'll let you know