Improved exceptions from native code
Merge pull request #7 from ethomson/errors

Improved exceptions from native code