> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ScriptExecutionError

> ScriptExecutionError 資料類型。

## 屬性

| 名稱 | 類型 | 描述 |
| :- | :- | :- |
| Error | String | 錯誤碼，例如 CloudScriptNotFound、JavascriptException、CloudScriptFunctionArgumentSizeExceeded、CloudScriptAPIRequestCountExceeded、CloudScriptAPIRequestError 或 CloudScriptHTTPRequestError |
| Message | String | 錯誤的詳細資料 |
| StackTrace | String | 指令碼執行期間發生錯誤的位置 (如果有的話) |


## Related topics

- [撰寫自訂 CloudScript](/zh-TW/services/playfab/live-service-management/service-gateway/automation/cloudscript/writing-custom-cloudscript.md)
- [ExecuteCloudScriptResult](/zh-TW/services/playfab/api-references/events/data-types/executecloudscriptresult.md)
- [PFCloudScriptScriptExecutionError](/zh-TW/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptscriptexecutionerror.md)
- [PFCloudScriptFunctionExecutionError](/zh-TW/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptfunctionexecutionerror.md)
- [Post Function Result For Function Execution](/api-reference/server-side-cloud-script/post-function-result-for-function-execution.md)
