Better error handling
Merge pull request #20 from strongloop/throw

Better error handling