code: protected <T extends AbstractBase> ResponseEntity<Response<T>> buildNOKResponseWithKey(HttpStatus code, String msg, String msgKey, T... params) {
          return buildResponse(code, msg, msgKey, params);
      }
docs: Build a response object that signals a not-okay response with a given status {@code code}.
  
  @param <T> Some type extending the AbstractBase entity
  @param code The status code to set as response code
  @param msg The error message passed to the caller
  @param msgKey The error message key passed to the caller
  @param params A set of Serializable objects that are passed to the caller
  @return A ResponseEntity with status {@code code}