Fix throw Error statement
Merge pull request #3 from CodeDistillery/fix-throw-error

Fix throw Error statement