Error class inherits from StandardError

This will let it be caught by bare `rescue` statements, which do not rescue low level exceptions.
Merge pull request #1 from timuruski/patch-1

Error class inherits from StandardError