> ## 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-CN/services/playfab/live-service-management/service-gateway/automation/cloudscript/writing-custom-cloudscript.md)
- [ExecuteCloudScriptResult](/zh-CN/services/playfab/api-references/events/data-types/executecloudscriptresult.md)
- [PFCloudScriptScriptExecutionError](/zh-CN/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptscriptexecutionerror.md)
- [PFCloudScriptFunctionExecutionError](/zh-CN/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptfunctionexecutionerror.md)
- [Services C API overview - PFCloudScriptTypes.h](/zh-CN/services/playfab/api-references/c/pfcloudscripttypes/pfcloudscripttypes_members.md)
