Google Apps Script API
    Preparing search index...

    An error that is shown to users of the connector.

    var cc = DataStudioApp.createCommunityConnector();
    
    cc.newUserError()
      .setText("This is the debug error text.")
      .setDebugText("This text is only shown to admins.")
      .throwException();
    
    interface UserError {
        printJson(): string;
        setDebugText(text: string): UserError;
        setText(text: string): UserError;
        throwException(): never;
    }
    Index

    Methods