Add some more rigorous error handling.
Merge branch 'master' into andy
Emit errors to current frame.
Wrap errors in Error object.
Make error messages more generic.
Merge pull request #6 from honeinc/andy

Add some more rigorous error handling.