ScriptCompileError
Defined in: error/error.ts:68
Thrown by Sandbox.eval if the script fails to type-check against the generated action types. Every script is type-checked before it runs. Carries the compiler diagnostics so callers can surface line/column-precise errors.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ScriptCompileError(diagnostics): ScriptCompileError;Defined in: error/error.ts:71
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
diagnostics |
ScriptDiagnostic[] |
Returns
Section titled “Returns”ScriptCompileError
Overrides
Section titled “Overrides”Error.constructorProperties
Section titled “Properties”diagnostics
Section titled “diagnostics”readonly diagnostics: ScriptDiagnostic[];Defined in: error/error.ts:69