<code>+(id)codeWithError:(NSError *)error{
NSData * data = [error.userInfo objectForKey:AFNetworkingOperationFailingURLResponseDataErrorKey];
id json = nil;
if (data && (json = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableLeaves error:nil])) {
// NSUInteger code = [[json objectForKey:@"code"] integerValue];
return json;
}
return json;
}</code>