mumrah commented on code in PR #12518: URL: https://github.com/apache/kafka/pull/12518#discussion_r947938464
########## clients/src/main/java/org/apache/kafka/common/protocol/Errors.java: ########## @@ -479,6 +482,19 @@ public static Errors forException(Throwable t) { return UNKNOWN_SERVER_ERROR; } + public static Throwable getCause(Throwable t) { Review Comment: This name might be a little confusing since `Throwable#getCause` exists. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org