Exception: Durable::Llm::ResourceNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/durable/llm/errors.rb

Overview

Error raised when a requested resource cannot be found.

This typically occurs when requesting a model or resource that doesn’t exist or is not available to the user.

Examples:

Handling resource not found errors

begin
  client.complete("Hello", model: "nonexistent-model")
rescue Durable::Llm::ResourceNotFoundError => e
  puts "Requested resource not found: #{e.message}"
end