Convert string exceptions to Error objects

http://www.devthought.com/2011/12/22/a-string-is-not-an-error/