We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19b65ea commit f76c0dcCopy full SHA for f76c0dc
Firestore/core/src/remote/grpc_util.cc
@@ -36,9 +36,9 @@ Status ConvertStatus(const grpc::Status& from) {
36
// conversion should be safe.
37
// See
38
// https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
39
- HARD_ASSERT(
40
- error_code >= grpc::CANCELLED && error_code <= grpc::UNAUTHENTICATED,
41
- "Unknown gRPC error code: %s", error_code);
+ HARD_ASSERT(error_code >= grpc::StatusCode::CANCELLED &&
+ error_code <= grpc::StatusCode::UNAUTHENTICATED,
+ "Unknown gRPC error code: %s", error_code);
42
43
return {static_cast<Error>(error_code), from.error_message()};
44
}
0 commit comments