Skip to content
1 min read · 68 words

Variable: E_SKILL_SCRIPT_FAILED

ts
const E_SKILL_SCRIPT_FAILED: CreatedException<[string, string]>;

Defined in: src/batteries/skills/exceptions.ts:131

Raised when a skill script completes with a nonzero exit code and the deployment leaves SkillScriptConfig.failOnNonzeroExit at its default (true). The message carries the script name, the exit code, and the retrievable id of the spooled output so the failure is still inspectable. A deployment whose scripts use exit codes as ordinary signalling sets failOnNonzeroExit: false and receives the acknowledgement string instead.