@@ -94,16 +94,16 @@ enum ErrorType {
9494 * includes {@code google.rpc.ErrorInfo} details, the reason field (e.g.,
9595 * "RATE_LIMIT_EXCEEDED", "SERVICE_DISABLED") will be used. This offers the most precise
9696 * error cause.
97- * <li><b>Client-Side Network/Operational Errors:</b> For errors occurring within the client
98- * library or network stack, mapping to specific enum representations from {@link
99- * ErrorType}. This includes checking the exception for diagnostic markers (e.g., {@code
100- * ConnectException} or {@code SocketTimeoutException}).
10197 * <li><b>Specific Server Error Code:</b> If no {@code ErrorInfo.reason} is available and it is
10298 * not a client-side failure, but a server error code was received:
10399 * <ul>
104100 * <li>For HTTP: The HTTP status code (e.g., "403", "503").
105101 * <li>For gRPC: The gRPC status code name (e.g., "PERMISSION_DENIED", "UNAVAILABLE").
106102 * </ul>
103+ * <li><b>Client-Side Network/Operational Errors:</b> For errors occurring within the client
104+ * library or network stack, mapping to specific enum representations from {@link
105+ * ErrorType}. This includes checking the exception for diagnostic markers (e.g., {@code
106+ * ConnectException} or {@code SocketTimeoutException}).
107107 * <li><b>Language-specific error type:</b> The class or struct name of the exception or error
108108 * if available. This must be low-cardinality, meaning it returns the short name of the
109109 * exception class (e.g. {@code "IllegalStateException"}) rather than its message.
0 commit comments