Add support for raising exceptions
Merge pull request #1 from grimreaper/master

Add support for raising exceptions