code: static FirestoreException invalidState(String message, Object... params) {
      return new FirestoreException(String.format(message, params), Status.INVALID_ARGUMENT);
    }
docs: Creates a FirestoreException with an {@code INVALID_ARGUMENT} status code and the provided
  message in a nested exception.
  
  @return The FirestoreException