Skip to content
1 min read · 66 words

Variable: E_YAML_PEER_MISSING

ts
const E_YAML_PEER_MISSING: CreatedException<[string]>;

Defined in: src/batteries/artifacts/yaml/exceptions.ts:26

Thrown when the js-yaml peer dependency is missing or fails to load.

Remarks

This occurs when the battery's consumer has not installed the optional js-yaml peer dependency. The message template includes the package name, a description of its purpose, the underlying error, and the exact install command, so the consumer sees a complete, actionable message regardless of call site.