title: No implicit conversion of HTTParty::Response into String
body: <p>When I am trying to parse some kind of response into JSON I am getting the following error. I have raised JSON::ParserError in my code if incase parsing fails. But this kind of exception does not come under this parser error. I don't know why this kind of error is thrown? and How to rescue this error?</p>
  
  <p>code:</p>
  
  <pre><code> begin
     parsed_response = JSON.parse(response)
   rescue JSON::ParserError =&gt; e
     nil
   end
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>A TypeError occurred in background at 2014-11-16 03:01:08 UTC :
  
    no implicit conversion of HTTParty::Response into String
  </code></pre>