Update error message when client does not enough memory to hold server response

pull/7245/head
Muxi Yan 9 years ago
parent fc99ff6644
commit ff6cd70a1b
  1. 2
      src/objective-c/GRPCClient/GRPCCall.m

@ -214,7 +214,7 @@ NSString * const kGRPCTrailersKey = @"io.grpc.TrailersKey";
// appropriately-documented code.
[weakSelf finishWithError:[NSError errorWithDomain:kGRPCErrorDomain
code:GRPCErrorCodeResourceExhausted
userInfo:@{NSLocalizedDescriptionKey: @"Client out of memory."}]];
userInfo:@{NSLocalizedDescriptionKey: @"Client does not have enough memory to hold the server response."}]];
[weakSelf cancelCall];
return;
}

Loading…
Cancel
Save