class RubyLLM::UnsupportedAttachmentError
Raised when RubyLLM cannot format an attachment for the selected provider.
Constants
- GUIDANCE
Public Class Methods
Source
# File lib/ruby_llm/error.rb, line 31 def initialize(type = nil) message = 'Unsupported attachment type' message = "#{message}: #{type}" if type super("#{message}. #{GUIDANCE}") end
Calls superclass method