Cause error to inherit from StandardError rather than Exception.

This is best practice as if you catch Exception, you would also catch Ctrl-C, Out of Memory, or any other critical errors.

http://rubylearning.com/satishtalim/ruby_exceptions.html
Merge pull request #1 from APMG/master

Cause error to inherit from StandardError rather than Exception.