Exception: Woods::MCP::MissingCredential

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

Overview

Raised when a required credential (e.g. OpenAI API key) is absent and cannot be resolved from the config snapshot or environment.

Examples:

raise Woods::MCP::MissingCredential.new(
  "OPENAI_API_KEY is required for OpenAI provider",
  details: { credential: "OPENAI_API_KEY", provider: "openai" }
)

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