Exception: GitFit::LLM::Template::UnknownSlotError
- Defined in:
- lib/git_fit/llm/template.rb
Overview
Raised when a template references a slot that is not provided.
Instance Method Summary collapse
-
#initialize(name, allowed) ⇒ UnknownSlotError
constructor
A new instance of UnknownSlotError.
Constructor Details
#initialize(name, allowed) ⇒ UnknownSlotError
Returns a new instance of UnknownSlotError.
12 13 14 15 16 17 |
# File 'lib/git_fit/llm/template.rb', line 12 def initialize(name, allowed) super( "LLM: template references unknown slot {{#{name}}}\n" \ " Fix: use one of the allowed slots: #{allowed.join(', ')}" ) end |