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 023baf8 commit a30afa5Copy full SHA for a30afa5
google/cloud/bigtable/value.cc
@@ -343,8 +343,10 @@ std::ostream& operator<<(std::ostream& os, Value const& v) {
343
344
Status CheckDepthExceeded(int const depth) {
345
if (depth > kMaxValueDepth) {
346
- return internal::InternalError("Nested value depth exceeds 10 levels",
347
- GCP_ERROR_INFO());
+ return internal::InternalError(
+ absl::Substitute("Nested value depth exceeds $0 levels",
348
+ kMaxValueDepth),
349
+ GCP_ERROR_INFO());
350
}
351
return Status{};
352
0 commit comments