title: RestKit: Getting HTTP status code when a request fails
body: <p>I'm using RestKit in an iOS app and I need to have special handling for certain HTTP error codes. How can the the response HTTP status code be checked inside of <code>request:didFailLoadWithError:</code>? Is there some entry in the <code>userInfo</code> dictionary of the <code>NSError</code>?</p>
  
  <p>I couldn't find anything in the <a href="http://restkit.org/api/0.9/Protocols/RKRequestDelegate.html#//api/name/request%3adidFailLoadWithError%3a"><code>RKRequestDelegate</code> documentation</a>.</p>
  
  <p>Here's the interface for the delegate method:</p>
  
  <pre><code>- (void)request:(RKRequest *)request didFailLoadWithError:(NSError *)error
  </code></pre>