ForbesLindesay / connect-roles

Provides dynamic roles based authorisation for node.js connect and express servers.
749 stars 62 forks source link

Don't throw non-errors #5

Closed ForbesLindesay closed 11 years ago

ForbesLindesay commented 11 years ago

The worst crime when writing JavaScript code - throwing something that isn't an instanceof Error