code: public static <OPERATION> SubdocOperationResult<OPERATION> createError(String path, OPERATION operation, ResponseStatus status, CouchbaseException exception) {
          return new SubdocOperationResult<OPERATION>(path, operation, status, exception);
      }
docs: Create a {@link SubdocOperationResult} that correspond to a subdoc-level error, to be thrown by the enclosing
  {@link DocumentFragment#content(String) DocumentFragment when calling content methods}.
  
  @param path the path looked up.
  @param operation the type of operation.
  @param status the status of the operation.
  @param exception the exception to throw when trying to access the operation content.
  @return the operation result.