Throwing Error instance rather than String
Merge pull request #13 from jabclab/throw-error-object

Throwing Error instance rather than String