Exception: Durable::Llm::TimeoutError

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

Overview

Error raised when a request times out.

This occurs when the API request takes longer than the configured timeout period. Users may want to increase timeout settings or retry the request.

Examples:

Handling timeout errors

begin
  client.complete("Hello")
rescue Durable::Llm::TimeoutError => e
  puts "Request timed out: #{e.message}"
end