public static void assertRespSuccess(Response<?> response) {
        Preconditions.expectTrue(response.isSuccess(), String.format(REQUEST_FAILED_MSG, "", response.getErrMsg()));
    }
Assert if the response is successful.

@param response response
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/util/ClientUtils.java