एक ऑब्जेक्ट जो Apps Script API का इस्तेमाल करके, स्क्रिप्ट फ़ंक्शन को एक्ज़ीक्यूट करने की कोशिश के बाद होने वाली गड़बड़ी के बारे में जानकारी देता है. अगर run कॉल सफल होता है, लेकिन स्क्रिप्ट फ़ंक्शन (या खुद Apps Script) कोई अपवाद दिखाता है, तो जवाब के मुख्य हिस्से के error फ़ील्ड में एक Status ऑब्जेक्ट होता है. Status ऑब्जेक्ट के details फ़ील्ड में एक अरे होता है, जिसमें इन ExecutionError ऑब्जेक्ट में से किसी एक ऑब्जेक्ट का इस्तेमाल होता है.
ऑब्जेक्ट का कलेक्शन, जो स्क्रिप्ट के ज़रिए स्टैक ट्रेस उपलब्ध कराता है. इससे पता चलता है कि स्क्रिप्ट कहां एक्ज़ीक्यूट नहीं की जा सकी. साथ ही, सबसे डीप कॉल को पहले रखा जाता है.
errorMessage
string
Apps Script में गड़बड़ी का एक मैसेज मिलता है, जो आम तौर पर उपयोगकर्ता की भाषा में होता है.
errorType
string
गड़बड़ी किस तरह की है, उदाहरण के लिए TypeError या ReferenceError. अगर गड़बड़ी का टाइप उपलब्ध नहीं है, तो इस फ़ील्ड को शामिल नहीं किया जाता.
ScriptStackTraceElement
स्क्रिप्ट के ज़रिए इकट्ठा किया गया स्टैक ट्रेस, जो दिखाता है कि स्क्रिप्ट कहां एक्ज़ीक्यूट नहीं की जा सकी.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eExecutionError\u003c/code\u003e objects provide information about errors during script execution via the Apps Script API.\u003c/p\u003e\n"],["\u003cp\u003eThese objects contain details such as stack trace elements, error message, and error type.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eScriptStackTraceElement\u003c/code\u003e objects offer a stack trace showing the location of the execution failure within the script.\u003c/p\u003e\n"],["\u003cp\u003eThey include the function name and line number where the error occurred.\u003c/p\u003e\n"]]],[],null,[]]