hunk.code_window: export interface FetchPageRequest {
     id: string;
   }
   export interface FetchPublishedPageRequest {
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit:   isFirstLoad?: boolean;
  
hunk.file_path: app/client/src/api/PageApi.tsx
hunk.type: add
file: package com.appsmith.external.exceptions.pluginExceptions;
  
  import com.appsmith.external.exceptions.AppsmithErrorAction;
  import com.appsmith.external.exceptions.BaseException;
  import lombok.Getter;
  import lombok.Setter;
  
  @Getter
  @Setter
  public class AppsmithPluginException extends BaseException {
      private final AppsmithPluginError error;
      private final Object[] args;
  
      public AppsmithPluginException(AppsmithPluginError error, Object... args) {
          super(error.getMessage(args));
          this.error = error;
          this.args = args;
      }
  
      public Integer getHttpStatus() {
          return this.error.getHttpErrorCode();
      }
  
      @Override
      public String getMessage() {
          return this.error.getMessage(args);
      }
  
      public Integer getAppErrorCode() {
          return this.error == null ? 0 : this.error.getAppErrorCode();
      }
  
      public AppsmithErrorAction getErrorAction() {
          return this.error.getErrorAction();
      }
  
      public String getTitle() { return this.error.getTitle(); }
  }
  