Skip to content

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.

  • Error
new ScriptCompileError(diagnostics): ScriptCompileError;

Defined in: error/error.ts:71

Parameter Type
diagnostics ScriptDiagnostic[]

ScriptCompileError

Error.constructor
readonly diagnostics: ScriptDiagnostic[];

Defined in: error/error.ts:69