[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["\u003cp\u003e\u003ccode\u003eDebugError\u003c/code\u003e is an error type visible only to connector admins, used for debugging purposes.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to set error text (\u003ccode\u003esetText\u003c/code\u003e), print the error as JSON (\u003ccode\u003eprintJson\u003c/code\u003e), and trigger the error (\u003ccode\u003ethrowException\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eAdmins can utilize \u003ccode\u003eDebugError\u003c/code\u003e to identify and resolve issues within the connector without exposing them to end-users.\u003c/p\u003e\n"]]],[],null,["DebugError\n\nAn error that is only visible to admins of the connector.\n\n```javascript\nconst cc = DataStudioApp.createCommunityConnector();\n\ncc.newDebugError().setText('This is the debug error text.').throwException();\n``` \n\nMethods\n\n| Method | Return type | Brief description |\n|---------------------------------------|-----------------|------------------------------------------------------------------|\n| [printJson()](#printJson()) | `String` | Prints the JSON representation of this object. |\n| [setText(text)](#setText(String)) | [DebugError](#) | Sets the text of the debug error, which is only shown to admins. |\n| [throwException()](#throwException()) | `void` | Triggers this exception to be thrown. |\n\nDetailed documentation \n\n`print``Json()` \nPrints the JSON representation of this object. This is for debugging only.\n\nReturn\n\n\n`String`\n\n*** ** * ** ***\n\n`set``Text(text)` \nSets the text of the debug error, which is only shown to admins.\n\nParameters\n\n| Name | Type | Description |\n|--------|----------|-----------------|\n| `text` | `String` | The error text. |\n\nReturn\n\n\n[DebugError](#) --- This object, for chaining.\n\n*** ** * ** ***\n\n`throw``Exception()` \nTriggers this exception to be thrown."]]