Skip to content

Commit f62c41a

Browse files
committed
docs: update javadoc
1 parent adfb177 commit f62c41a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing/ErrorTypeUtil.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ enum ErrorType {
112112
* </ol>
113113
*
114114
* @param error the Throwable from which to extract the error type string.
115-
* @return a low-cardinality string representing the specific error type, or {@code
116-
* ErrorType.INTERNAL.toString()} if the provided error is {@code null} or non-determined.
115+
* @return a low-cardinality string representing the specific error type, or {@code null} if the
116+
* provided error is {@code null} or non-determined.
117117
*/
118118
// Requirement source: go/clo:product-requirements-v1
119119
public static String extractErrorType(@Nullable Throwable error) {
120120
if (error == null) {
121-
// No information about the error; we default to INTERNAL.
121+
// No information about the error; we default to null.
122122
return null;
123123
}
124124

0 commit comments

Comments
 (0)