Appearance
ExecuteScriptPayload
Type: Object
Result of executing a Lua script in the playground
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| errors | [FieldError!]! | Validation or runtime errors | ||
| logs | [ScriptLogEntry!]! | ctx.log.* output from the run, in the order the script wrote it. Present on failed runs too — a script that logs and then fails is exactly the one whose logs matter. | ||
| output | JSONString | JSON-encoded captured rpc.respond() result | ||
| success | Boolean! | Whether the script executed successfully |