title: Retrofit 2.0 how to get deserialised error response.body
body: <p>I'm using <strong>Retrofit 2.0.0-beta1</strong>.</p>
  
  <p>In tests i have an alternate scenario and expect error HTTP 400</p>
  
  <p>I would like to have <code>retrofit.Response&lt;MyError&gt; response</code>
  but <code>response.body() == null</code></p>
  
  <p>MyError is not deserialised - i see it only here</p>
  
  <pre><code>response.errorBody().string()
  </code></pre>
  
  <p>but it doesn't give me MyError as object</p>