public String exceptionName() {
        return exception == null ? null : exception.getClass().getName();
    }
Returns the class name of the exception or null if this is {@code Errors.NONE}.
clients/src/main/java/org/apache/kafka/common/protocol/Errors.java