We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86d6cab commit fe5ee04Copy full SHA for fe5ee04
1 file changed
sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing/ErrorTypeUtil.java
@@ -111,7 +111,7 @@ public enum ErrorType {
111
* </ol>
112
*
113
* @param error the Throwable from which to extract the error type string.
114
- * @return a low-cardinality string representing the specific error type, or {@code null} if the
+ * @return a low-cardinality string representing the specific error type, or {@code ErrorType.INTERNAL.toString()} if the
115
* provided error is {@code null}.
116
*/
117
public static String extractErrorType(@Nullable Throwable error) {
0 commit comments