Exception: Woods::MCP::MissingArtifact

Inherits:
BootstrapError show all
Defined in:
lib/woods/mcp/errors.rb

Overview

Raised when woods.json is absent from output_dir and the env flag WOODS_ALLOW_AUTODETECT is not set. Hosts that have never run an embed see a clear failure message rather than silent degradation.

Examples:

raise Woods::MCP::MissingArtifact.new(
  "No woods.json found in /app/tmp/woods. Run `rake woods:embed` first.",
  details: { output_dir: "/app/tmp/woods" }
)

Instance Attribute Summary

Attributes inherited from BootstrapError

#details

Method Summary

Methods inherited from BootstrapError

#initialize

Constructor Details

This class inherits a constructor from Woods::MCP::BootstrapError