public void maybeThrow() {
        if (exception != null) {
            throw this.exception;
        }
    }
Throw the exception corresponding to this error if there is one
clients/src/main/java/org/apache/kafka/common/protocol/Errors.java