kallisti-dev/hs-webdriver — pull request #40 by echaozh (2014-07-07 21:10:56+00:00)
Title: Handle JSON error in the body even if status code is 2xx

I'm not sure about other drivers, but `chromedriver` surely reports 200 when the command fails. That's why modified `handleHTTPErr` to handle the error info in the body as well. Not sure if it fits the big picture, but it's the easy way.