public ApiException exception() {
        return error.exception(message);
    }
If `message` is defined, return it. Otherwise fallback to the default error message associated with the error
code.
clients/src/main/java/org/apache/kafka/common/requests/ApiError.java